nautilus r13723 - in trunk: . src



Author: alexl
Date: Mon Feb 11 10:27:04 2008
New Revision: 13723
URL: http://svn.gnome.org/viewvc/nautilus?rev=13723&view=rev

Log:
2008-02-11  Alexander Larsson  <alexl redhat com>

	* src/nautilus-places-sidebar.c (update_places):
	Fix leak of volumes list.
	Pointed out by Vincent Untz




Modified:
   trunk/ChangeLog
   trunk/src/nautilus-places-sidebar.c

Modified: trunk/src/nautilus-places-sidebar.c
==============================================================================
--- trunk/src/nautilus-places-sidebar.c	(original)
+++ trunk/src/nautilus-places-sidebar.c	Mon Feb 11 10:27:04 2008
@@ -342,6 +342,7 @@
 				}
 				g_object_unref (volume);
 			}
+			g_list_free (volumes);
 		} else {
 			if (g_drive_is_media_removable (drive) && !g_drive_is_media_check_automatic (drive)) {
 				/* If the drive has no mountable volumes and we cannot detect media change.. we



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]