diff options
author | Alexander Larsson <alexl@redhat.com> | 2008-03-05 09:27:06 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2008-03-05 09:27:06 +0000 |
commit | 648181f299d282855456752ea328a1e5e01881b6 (patch) | |
tree | b6cc60c042aee7dd6c96386ab5024758f264380d /client | |
parent | ff681b817d6094ddf9bd8c95e76341ea72c5319f (diff) | |
download | gvfs-648181f299d282855456752ea328a1e5e01881b6.tar.gz |
Initialize drive variable not access undefined memory (#520388)
2008-03-05 Alexander Larsson <alexl@redhat.com>
* client/gdaemonmount.c:
(g_daemon_mount_eject_finish):
Initialize drive variable not access
undefined memory (#520388)
svn path=/trunk/; revision=1549
Diffstat (limited to 'client')
-rw-r--r-- | client/gdaemonmount.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/client/gdaemonmount.c b/client/gdaemonmount.c index c6c302e6..02bfe5ec 100644 --- a/client/gdaemonmount.c +++ b/client/gdaemonmount.c @@ -338,7 +338,8 @@ g_daemon_mount_eject_finish (GMount *mount, 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)); |