]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
plug a possible BusClientPolicy leak (FDO Bug #13242)
authorJohn (J5) Palmieri <johnp@redhat.com>
Tue, 15 Jan 2008 00:04:41 +0000 (19:04 -0500)
committerJohn (J5) Palmieri <johnp@redhat.com>
Tue, 15 Jan 2008 00:04:41 +0000 (19:04 -0500)
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)

ChangeLog
bus/connection.c

index 813866b1c62fce16022cdc212b567605c5b971d1..32beee761fe0646fd37aef3016365d0d00c52ec3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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#
index 89d80ddb37355bc2884c95bd4d9889695e6c65d0..512a2311eb7b4c5b715e758fca150d93535025a8 100644 (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;
         }
     }