gvfs r1549 - in trunk: . client



Author: alexl
Date: Wed Mar  5 09:27:06 2008
New Revision: 1549
URL: http://svn.gnome.org/viewvc/gvfs?rev=1549&view=rev

Log:
2008-03-05  Alexander Larsson  <alexl redhat com>

        * client/gdaemonmount.c:
        (g_daemon_mount_eject_finish):
	Initialize drive variable not access
	undefined memory (#520388)



Modified:
   trunk/ChangeLog
   trunk/client/gdaemonmount.c

Modified: trunk/client/gdaemonmount.c
==============================================================================
--- trunk/client/gdaemonmount.c	(original)
+++ trunk/client/gdaemonmount.c	Wed Mar  5 09:27:06 2008
@@ -338,7 +338,8 @@
   res = TRUE;
 
   G_LOCK (daemon_mount);
-  
+
+  drive = NULL;
   if (daemon_mount->foreign_volume != NULL)
     drive = g_volume_get_drive (G_VOLUME (daemon_mount->foreign_volume));
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]