diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2008-03-04 10:14:03 +0000 |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2008-03-04 10:14:03 +0000 |
commit | 3cd81d08a157eb3723ed105f770b8da042d9bb54 (patch) | |
tree | 700e7e278d834c6717d59db8212fefc753942b81 /common | |
parent | 1eb8a29bf060a4d07f065f939c2a0263363d627f (diff) | |
download | gvfs-3cd81d08a157eb3723ed105f770b8da042d9bb54.tar.gz |
Fix memory leaks.
2008-03-04 Carlos Garcia Campos <carlosgc@gnome.org>
* common/gmountspec.c: (g_mount_spec_copy):
* daemon/gvfsdaemon.c: (g_vfs_daemon_initiate_mount):
* daemon/main.c: (main):
Fix memory leaks.
svn path=/trunk/; revision=1519
Diffstat (limited to 'common')
-rw-r--r-- | common/gmountspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/gmountspec.c b/common/gmountspec.c index 09faac92..744e0a90 100644 --- a/common/gmountspec.c +++ b/common/gmountspec.c @@ -175,7 +175,7 @@ g_mount_spec_copy (GMountSpec *spec) int i; copy = g_mount_spec_new (NULL); - copy->mount_prefix = g_strdup (spec->mount_prefix); + g_mount_spec_set_mount_prefix (copy, spec->mount_prefix); for (i = 0; i < spec->items->len; i++) { |