adding crash fix from head

This commit is contained in:
Tomas Bzatek 2008-03-04 15:57:21 +00:00
parent 66a18e6faf
commit 786f3274f4
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,13 @@
--- 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);

View File

@ -28,6 +28,7 @@ BuildRequires: expat-devel
# From head:
Patch1: gvfsfusedaemon_debug.patch
Patch2: ghalvolumemonitor_free_mounts.patch
%description
The gvfs package provides backend implementations for the gio
@ -46,6 +47,7 @@ required to develop applications using gvfs.
%setup -q
%patch1 -p1 -b .fusedebug
%patch2 -p1 -b .halmonitor
%build
%configure