stefan pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=6b7172d6e32291b037c81150e383d1932cbb1886
commit 6b7172d6e32291b037c81150e383d1932cbb1886 Author: Stefan Schmidt <[email protected]> Date: Mon Apr 18 13:36:17 2016 +0200 elm_atspi_bridge: unref eldbus msg before returning to avoid memory leak If we goto fail here we still have the ret eldbus message referenced. Make sure we unref so it can be free'd and we do not leak memory. CID: 1353603 --- src/lib/elementary/elm_atspi_bridge.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/elementary/elm_atspi_bridge.c b/src/lib/elementary/elm_atspi_bridge.c index 14f9a42..9c78137 100644 --- a/src/lib/elementary/elm_atspi_bridge.c +++ b/src/lib/elementary/elm_atspi_bridge.c @@ -828,6 +828,7 @@ _accessible_get_relation_set(const Eldbus_Service_Interface *iface EINA_UNUSED, return ret; fail: + eldbus_message_unref(ret); return eldbus_message_error_new(msg, "org.freedesktop.DBus.Error.Failed", "Unable to get relation set."); } --
