From fec58d8d78765342ba09e77c8742bb2e8b214ff1 Mon Sep 17 00:00:00 2001 From: "John (J5) Palmieri" Date: Mon, 14 Jan 2008 19:04:41 -0500 Subject: plug a possible BusClientPolicy leak (FDO Bug #13242) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 2008-01-14 John (J5) Palmieri * patch by Kimmo Hämäläinen * bus/connection.c (bus_connection_complete): plug a possible BusClientPolicy leak (FDO Bug #13242) --- ChangeLog | 7 +++++++ bus/connection.c | 2 ++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 813866b1..32beee76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-01-14 John (J5) Palmieri + + * patch by Kimmo Hämäläinen + + * bus/connection.c (bus_connection_complete): plug a possible + BusClientPolicy leak (FDO Bug #13242) + 2008-01-14 John (J5) Palmieri * patch by Frederic Crozat (FDO Bz# diff --git a/bus/connection.c b/bus/connection.c index 89d80ddb..512a2311 100644 --- a/bus/connection.c +++ b/bus/connection.c @@ -1306,6 +1306,8 @@ bus_connection_complete (DBusConnection *connection, BUS_SET_OOM (error); dbus_free (d->name); d->name = NULL; + bus_client_policy_unref (d->policy); + d->policy = NULL; return FALSE; } } -- cgit