summaryrefslogtreecommitdiff
path: root/daemon/main.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2008-03-04 10:14:03 +0000
committerCarlos Garcia Campos <carlosgc@src.gnome.org>2008-03-04 10:14:03 +0000
commit3cd81d08a157eb3723ed105f770b8da042d9bb54 (patch)
tree700e7e278d834c6717d59db8212fefc753942b81 /daemon/main.c
parent1eb8a29bf060a4d07f065f939c2a0263363d627f (diff)
downloadgvfs-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 'daemon/main.c')
-rw-r--r--daemon/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/main.c b/daemon/main.c
index ebfe9d19..79f361a1 100644
--- a/daemon/main.c
+++ b/daemon/main.c
@@ -77,9 +77,12 @@ main (int argc, char *argv[])
g_get_prgname ());
g_printerr ("\n");
g_error_free (error);
+ g_option_context_free (context);
return 1;
}
+ g_option_context_free (context);
+
dbus_threads_init_default ();
g_type_init ();