gvfs/ghalvolumemonitor_free_mounts.patch

14 lines
491 B
Diff
Raw Normal View History

2008-03-04 15:57:21 +00:00
--- trunk/hal/ghalvolumemonitor.c 2008/03/04 15:08:53 1536
+++ trunk/hal/ghalvolumemonitor.c 2008/03/04 15:48:55 1540
@@ -159,7 +159,9 @@
list_free (monitor->last_drive_devices);
list_free (monitor->last_volume_devices);
list_free (monitor->last_mountpoints);
- list_free (monitor->last_mounts);
+ g_list_foreach (monitor->last_mounts,
+ (GFunc)g_unix_mount_free, NULL);
+ g_list_free (monitor->last_mounts);
list_free (monitor->drives);
list_free (monitor->volumes);