[maemo-commits] [maemo-commits] r9033 - in projects/haf/branches/dbus/0.x/trunk/debian: . patches

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jan 10 16:27:46 EET 2007
Author: kihamala
Date: 2007-01-10 16:27:45 +0200 (Wed, 10 Jan 2007)
New Revision: 9033

Added:
   projects/haf/branches/dbus/0.x/trunk/debian/patches/36-dbus-g-method-return-leak-fix.patch
Modified:
   projects/haf/branches/dbus/0.x/trunk/debian/changelog
Log:
added fix for leak spotted by Alberto


Modified: projects/haf/branches/dbus/0.x/trunk/debian/changelog
===================================================================
--- projects/haf/branches/dbus/0.x/trunk/debian/changelog	2007-01-10 14:22:15 UTC (rev 9032)
+++ projects/haf/branches/dbus/0.x/trunk/debian/changelog	2007-01-10 14:27:45 UTC (rev 9033)
@@ -1,3 +1,10 @@
+dbus (0.61-osso26) experimental; urgency=low
+
+  * UNRELEASED
+  * Added fix for a leak spotted by Alberto Mardegan. Fixes: NB#50506
+
+ -- Kimmo Hämäläinen <kimmo.hamalainen at nokia.com>  Wed, 10 Jan 2007 16:26:03 +0200
+
 dbus (0.61-osso25) experimental; urgency=low
 
   * Added match_rule_equal() fix from branched 0.61-osso23fix.

Added: projects/haf/branches/dbus/0.x/trunk/debian/patches/36-dbus-g-method-return-leak-fix.patch
===================================================================
--- projects/haf/branches/dbus/0.x/trunk/debian/patches/36-dbus-g-method-return-leak-fix.patch	2007-01-10 14:22:15 UTC (rev 9032)
+++ projects/haf/branches/dbus/0.x/trunk/debian/patches/36-dbus-g-method-return-leak-fix.patch	2007-01-10 14:27:45 UTC (rev 9033)
@@ -0,0 +1,11 @@
+diff -pur trunk/glib/dbus-gobject.c trunk.new/glib/dbus-gobject.c
+--- trunk/glib/dbus-gobject.c	2006-11-16 11:30:11.000000000 +0200
++++ trunk.new/glib/dbus-gobject.c	2007-01-10 16:21:07.962737536 +0200
+@@ -1980,6 +1980,7 @@ dbus_g_method_return (DBusGMethodInvocat
+   dbus_g_connection_unref (context->connection);
+   dbus_g_message_unref (context->message);
+   g_free (context);
++  g_array_free (argsig, TRUE);
+   g_free (out_sig);
+ }
+ 


More information about the maemo-commits mailing list