gvfs r1540 - in trunk: . hal
- From: alexl svn gnome org
- To: svn-commits-list gnome org
- Subject: gvfs r1540 - in trunk: . hal
- Date: Tue, 4 Mar 2008 15:48:55 +0000 (GMT)
Author: alexl
Date: Tue Mar 4 15:48:55 2008
New Revision: 1540
URL: http://svn.gnome.org/viewvc/gvfs?rev=1540&view=rev
Log:
2008-03-04 Alexander Larsson <alexl redhat com>
* hal/ghalvolumemonitor.c:
(g_hal_volume_monitor_finalize):
Free mounts with g_unix_mount_free, not g_object_unref.
Modified:
trunk/ChangeLog
trunk/hal/ghalvolumemonitor.c
Modified: trunk/hal/ghalvolumemonitor.c
==============================================================================
--- trunk/hal/ghalvolumemonitor.c (original)
+++ trunk/hal/ghalvolumemonitor.c Tue Mar 4 15:48:55 2008
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]