summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn (J5) Palmieri <johnp@redhat.com>2008-01-14 19:04:41 -0500
committerJohn (J5) Palmieri <johnp@redhat.com>2008-01-14 19:04:41 -0500
commitfec58d8d78765342ba09e77c8742bb2e8b214ff1 (patch)
tree4045ad01c433a696818ffc676ce887427b2e302e
parent831a0d71c4767f81dd69f4078b393ff73d22172a (diff)
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)
-rw-r--r--ChangeLog7
-rw-r--r--bus/connection.c2
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 813866b1..32beee76 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
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#
13268)
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;
}
}