plug a possible BusClientPolicy leak (FDO Bug #13242)

2008-01-14  John (J5) Palmieri  <johnp@redhat.com>

	* patch by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>

	* bus/connection.c (bus_connection_complete): plug a possible
	BusClientPolicy leak (FDO Bug #13242)
This commit is contained in:
John (J5) Palmieri 2008-01-14 19:04:41 -05:00
parent 831a0d71c4
commit fec58d8d78
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,10 @@
2008-01-14 John (J5) Palmieri <johnp@redhat.com>
* patch by Kimmo Hämäläinen <kimmo dot hamalainen at nokia dot com>
* bus/connection.c (bus_connection_complete): plug a possible
BusClientPolicy leak (FDO Bug #13242)
2008-01-14 John (J5) Palmieri <johnp@redhat.com>
* patch by Frederic Crozat <fcrozat at mandriva dot com> (FDO Bz#

View file

@ -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;
}
}