forked from enlightenment/enlightenment
polkit - fix error case leak
error path leak found by coverity fix CID 1425216
This commit is contained in:
parent
a6a10d405d
commit
1617659255
|
@ -179,6 +179,7 @@ cb_agent_begin_authentication(const Eldbus_Service_Interface *iface EINA_UNUSED,
|
|||
session_show(ps);
|
||||
return NULL;
|
||||
err:
|
||||
if (ps) session_free(ps);
|
||||
return eldbus_message_method_return_new(msg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue