From: Colin Walters Date: Tue, 22 Jul 2014 18:14:46 +0000 (-0400) Subject: gapplicationimpl-dbus: Fix leak of fd list object X-Git-Tag: 2.41.3~36 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=acdcf5cd50ccbf76fb4d74dbef4e768d5980e46e;p=platform%2Fupstream%2Fglib.git gapplicationimpl-dbus: Fix leak of fd list object Spotted by static analysis. https://bugzilla.gnome.org/show_bug.cgi?id=733576 --- diff --git a/gio/gapplicationimpl-dbus.c b/gio/gapplicationimpl-dbus.c index 15e66f2..94cf6ea 100644 --- a/gio/gapplicationimpl-dbus.c +++ b/gio/gapplicationimpl-dbus.c @@ -753,6 +753,7 @@ g_application_impl_command_line (GApplicationImpl *impl, g_variant_new ("(o^aay@a{sv})", object_path, arguments, platform_data), G_VARIANT_TYPE ("(i)"), 0, G_MAXINT, fd_list, NULL, g_application_impl_cmdline_done, &data); + g_object_unref (fd_list); } #else g_dbus_connection_call (impl->session_bus, impl->bus_name, impl->object_path,