Commit b1a0d1a2 authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Fix leak of volumes list. Pointed out by Vincent Untz

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



svn path=/trunk/; revision=13723
parent 39b3996d
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
2008-02-08 Alexander Larsson <alexl@redhat.com>
* libnautilus-private/nautilus-autorun.c:
......
......@@ -342,6 +342,7 @@ update_places (NautilusPlacesSidebar *sidebar)
}
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment