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) --- bus/connection.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bus/connection.c') 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