forked from enlightenment/efl
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
This commit is contained in:
parent
281e90cda5
commit
6e48257b79
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue