projects
/
platform
/
core
/
system
/
swap-manager.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5ca1508
)
manager: fix crash during connect to UNIX sockets
48/199148/1
author
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Tue, 5 Feb 2019 15:22:32 +0000
(18:22 +0300)
committer
Vyacheslav Cherkashin
<v.cherkashin@samsung.com>
Tue, 5 Feb 2019 15:22:32 +0000
(18:22 +0300)
Change-Id: I88e927853aa9b2399570630a138e46914ded61e2
Signed-off-by: Vyacheslav Cherkashin <v.cherkashin@samsung.com>
daemon/da_inst.c
patch
|
blob
|
history
diff --git
a/daemon/da_inst.c
b/daemon/da_inst.c
index 7899fa926e71e0178db46402c9b7de6d8bdb424d..3fedba63e0adbe73a9f68dc2450ed8363d4e1fd0 100644
(file)
--- a/
daemon/da_inst.c
+++ b/
daemon/da_inst.c
@@
-1034,7
+1034,13
@@
int preload_stop(void)
void send_target_bins_to(struct target *t)
{
lock_lib_maps_message();
+ if (!lib_maps_message) {
+ LOGE("lib_maps_message is not created!\n");
+ goto unlock;
+ }
+
target_send_msg(t, (struct msg_target_t *)lib_maps_message);
+unlock:
unlock_lib_maps_message();
}