projects
/
platform
/
core
/
uifw
/
e-mod-tizen-processmgr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a655fd
)
Do not unref eldbus_message after sending the message
80/59580/1
author
MinJeong Kim
<minjjj.kim@samsung.com>
Tue, 16 Feb 2016 12:11:44 +0000
(21:11 +0900)
committer
MinJeong Kim
<minjjj.kim@samsung.com>
Tue, 16 Feb 2016 12:15:38 +0000
(21:15 +0900)
After eldbus_message is sent with no callbacks, the message is unrefed
inside of eldbus library. So it doesn't need to unref the message
manually.
Change-Id: I0ca545ce9f14f7895bd8337bbf0ee4c8513ad673
Signed-off-by: MinJeong Kim <minjjj.kim@samsung.com>
src/e_mod_processmgr.c
patch
|
blob
|
history
diff --git
a/src/e_mod_processmgr.c
b/src/e_mod_processmgr.c
index
31af2b2
..
9b350b3
100644
(file)
--- a/
src/e_mod_processmgr.c
+++ b/
src/e_mod_processmgr.c
@@
-430,10
+430,7
@@
_e_processmgr_send_pid_action(int pid, E_ProcessMgr_Action act)
// send the message
if (!eldbus_connection_send(conn, msg, NULL, NULL, -1))
- {
- eldbus_message_unref(msg);
- return;
- }
+ return;
eldbus_message_unref(msg);
}