diff options
author | Christopher Michael <cp.michael@samsung.com> | 2019-04-23 09:14:52 -0400 |
---|---|---|
committer | Christopher Michael <cp.michael@samsung.com> | 2019-04-23 09:14:52 -0400 |
commit | 6e48257b790b29ccf488927ca41ade6887e9ff1e (patch) | |
tree | a593e8103a38cc1a2785731765b5fbb38e50d5b5 | |
parent | 281e90cda5748eed38bd7629ba80bbd1f89ffc28 (diff) | |
download | efl-6e48257b790b29ccf488927ca41ade6887e9ff1e.tar.gz |
elput: Remove useless call to eldbus_message_unref
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
-rw-r--r-- | src/lib/elput/elput_logind.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/elput/elput_logind.c b/src/lib/elput/elput_logind.c index 40e483ebe5..cca5ea7eb7 100644 --- 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; } |