[maemo-commits] [maemo-commits] r13375 - in projects/haf/trunk/osso-gnome-vfs2/debian: . patches

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Aug 23 15:42:03 EEST 2007
Author: martyn
Date: 2007-08-23 15:41:58 +0300 (Thu, 23 Aug 2007)
New Revision: 13375

Added:
   projects/haf/trunk/osso-gnome-vfs2/debian/patches/37-NB66140-header-list-leak.patch
Modified:
   projects/haf/trunk/osso-gnome-vfs2/debian/changelog
Log:
Fixes: NB#66140, gnome-vfs http module leak


Modified: projects/haf/trunk/osso-gnome-vfs2/debian/changelog
===================================================================
--- projects/haf/trunk/osso-gnome-vfs2/debian/changelog	2007-08-23 11:53:52 UTC (rev 13374)
+++ projects/haf/trunk/osso-gnome-vfs2/debian/changelog	2007-08-23 12:41:58 UTC (rev 13375)
@@ -1,3 +1,9 @@
+osso-gnome-vfs2 (2.16.3-1osso26~unreleased) unstable; urgency=low
+
+  * Fixes: NB#66140, gnome-vfs http module leak
+	
+ -- Martyn Russell <martyn at imendio.com>  Thu,  23 Aug 2007 17:00:00 +0100
+
 osso-gnome-vfs2 (2.16.3-1osso25.1) unstable; urgency=low
 
   * Fix building problem, add file compat to debian folder

Added: projects/haf/trunk/osso-gnome-vfs2/debian/patches/37-NB66140-header-list-leak.patch
===================================================================
--- projects/haf/trunk/osso-gnome-vfs2/debian/patches/37-NB66140-header-list-leak.patch	2007-08-23 11:53:52 UTC (rev 13374)
+++ projects/haf/trunk/osso-gnome-vfs2/debian/patches/37-NB66140-header-list-leak.patch	2007-08-23 12:41:58 UTC (rev 13375)
@@ -0,0 +1,15 @@
+Index: modules/http-neon-method.c
+===================================================================
+--- modules/http-neon-method.c	(revision 13338)
++++ modules/http-neon-method.c	(working copy)
+@@ -1505,7 +1505,8 @@ neon_return_headers (ne_request *req, vo
+ 					&in_args, sizeof (in_args),
+ 					&out_args, sizeof (out_args));
+ 	
+-	/* FIXME: free stuff here?  */
++	g_list_foreach (headers, (GFunc) g_free, NULL);
++	g_list_free (headers);
+ 	
+ 	ne_set_request_private (req, "Headers Returned", "TRUE");
+ 	
+


More information about the maemo-commits mailing list