forked from enlightenment/efl
elm_atspi_bridge: Fix resource leak
Summary: Coverity reports a resource leak here because the dbus 'reply' message is never unref'd. Fix that. Fixes Coverity CID1399429 @fix Depends on D8344 Reviewers: raster, cedric, zmike, bu5hm4n, stefan_schmidt Reviewed By: cedric Subscribers: #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D8345
This commit is contained in:
parent
c802103789
commit
1688b5d511
|
@ -4707,6 +4707,8 @@ _elm_atspi_bridge_key_filter(void *data, void *loop EINA_UNUSED, int type, void
|
|||
if (!eldbus_message_arguments_get(reply, "b", &ret))
|
||||
ERR("Invalid answer signature");
|
||||
|
||||
eldbus_message_unref(reply);
|
||||
|
||||
if (ret)
|
||||
return EINA_FALSE;
|
||||
|
||||
|
|
Loading…
Reference in New Issue