Blob Blame History Raw
--- 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);