diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2006-08-21 18:46:48 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2006-08-21 18:46:48 (GMT) |
commit | 25d98b033dd862161a97eb91c25723cef772c65e (patch) | |
tree | 28a03fb93cbcc2b4edb5f8d8709903b78669adfc /shell | |
parent | 02ac7759d84d842837ef7c67c2f614576ef5b71c (diff) |
Revert my previous commit, gnome_program_init owns the option context. Fix
2006-08-21 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/main.c: (main):
Revert my previous commit, gnome_program_init owns the option context.
Fix another memory leak in main. Both caught by Christian Persch.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/main.c b/shell/main.c index 41b8b18..928f7fa 100644 --- a/shell/main.c +++ b/shell/main.c @@ -310,12 +310,12 @@ main (int argc, char *argv[]) NULL); args = arguments_parse (); - g_option_context_free (context); #ifdef ENABLE_DBUS if (!ev_application_register_service (EV_APP)) { if (load_files_remote (file_arguments, args)) { g_hash_table_destroy (args); + g_object_unref (program); return 0; } |