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:
Christopher Michael 2019-04-23 09:14:52 -04:00
parent 281e90cda5
commit 6e48257b79
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}