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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Sep 21 10:20:27 EEST 2007
Author: richard
Date: 2007-09-21 10:20:23 +0300 (Fri, 21 Sep 2007)
New Revision: 13961

Added:
   projects/haf/trunk/osso-gnome-vfs2/debian/patches/39-volume-monitor-leak.patch
Modified:
   projects/haf/trunk/osso-gnome-vfs2/debian/changelog
Log:
Plug small leak.

Modified: projects/haf/trunk/osso-gnome-vfs2/debian/changelog
===================================================================
--- projects/haf/trunk/osso-gnome-vfs2/debian/changelog	2007-09-21 07:16:21 UTC (rev 13960)
+++ projects/haf/trunk/osso-gnome-vfs2/debian/changelog	2007-09-21 07:20:23 UTC (rev 13961)
@@ -1,8 +1,9 @@
 osso-gnome-vfs2 (2.16.3-1osso29) unstable; urgency=low
 
   * Fixes: NB#22048, Extra threads left running after changing the background
+  * Plug a small leak in the volume monitor (patch 39)
 	
- -- Richard Hult <richard at imendio.com>  Fri, 21 Sep 2007 09:24:54 +0200
+ -- Richard Hult <richard at imendio.com>  Fri, 21 Sep 2007 09:18:58 +0200
 
 osso-gnome-vfs2 (2.16.3-1osso28) unstable; urgency=low
 

Added: projects/haf/trunk/osso-gnome-vfs2/debian/patches/39-volume-monitor-leak.patch
===================================================================
--- projects/haf/trunk/osso-gnome-vfs2/debian/patches/39-volume-monitor-leak.patch	2007-09-21 07:16:21 UTC (rev 13960)
+++ projects/haf/trunk/osso-gnome-vfs2/debian/patches/39-volume-monitor-leak.patch	2007-09-21 07:20:23 UTC (rev 13961)
@@ -0,0 +1,14 @@
+--- libgnomevfs/gnome-vfs-volume-monitor-daemon.c-unmod	2007-09-20 09:09:11.000000000 +0200
++++ libgnomevfs/gnome-vfs-volume-monitor-daemon.c	2007-09-20 09:09:54.000000000 +0200
+@@ -629,7 +629,10 @@ get_drive_name (GnomeVFSVolumeMonitor *v
+ 	utf8_name = make_utf8 (name);
+ 	g_free (name);
+ 	
+-	return _gnome_vfs_volume_monitor_uniquify_drive_name (volume_monitor, utf8_name);
++	name = _gnome_vfs_volume_monitor_uniquify_drive_name (volume_monitor, utf8_name);
++	g_free (utf8_name);
++
++	return name;
+ }
+ 
+ 


More information about the maemo-commits mailing list