rpms/gvfs/devel ghalvolumemonitor_free_mounts.patch, NONE, 1.1 gvfs.spec, 1.26, 1.27

Tomas Bzatek (tbzatek) fedora-extras-commits at redhat.com
Tue Mar 4 15:58:13 UTC 2008


Author: tbzatek

Update of /cvs/extras/rpms/gvfs/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv21320

Modified Files:
	gvfs.spec 
Added Files:
	ghalvolumemonitor_free_mounts.patch 
Log Message:
adding crash fix from head

ghalvolumemonitor_free_mounts.patch:

--- NEW FILE ghalvolumemonitor_free_mounts.patch ---
--- 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);


Index: gvfs.spec
===================================================================
RCS file: /cvs/extras/rpms/gvfs/devel/gvfs.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- gvfs.spec	4 Mar 2008 15:49:08 -0000	1.26
+++ gvfs.spec	4 Mar 2008 15:57:21 -0000	1.27
@@ -28,6 +28,7 @@
 
 # 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 @@
 %setup -q
 
 %patch1 -p1 -b .fusedebug
+%patch2 -p1 -b .halmonitor
 
 %build
 %configure 




More information about the fedora-extras-commits mailing list