projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a7b2c4
)
elput: Remove useless call to eldbus_message_unref
author
Christopher Michael
<cp.michael@samsung.com>
Tue, 23 Apr 2019 13:14:52 +0000
(09:14 -0400)
committer
Yeongjong Lee
<yj34.lee@samsung.com>
Wed, 24 Apr 2019 05:24:47 +0000
(14:24 +0900)
If we are returning here due to a failure to create the eldbus
message, then there is no point in trying to free it as it is already
null.
@fix
src/lib/elput/elput_logind.c
patch
|
blob
|
history
diff --git
a/src/lib/elput/elput_logind.c
b/src/lib/elput/elput_logind.c
index
40e483e
..
cca5ea7
100644
(file)
--- a/
src/lib/elput/elput_logind.c
+++ b/
src/lib/elput/elput_logind.c
@@
-41,7
+41,6
@@
_logind_device_pause_complete(Elput_Manager *em, uint32_t major, uint32_t minor)
if (!msg)
{
ERR("Could not create method call for proxy");
- eldbus_message_unref(msg);
return;
}