diff options
Diffstat (limited to 'src/daemon/mnd-daemon.c')
-rw-r--r-- | src/daemon/mnd-daemon.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/daemon/mnd-daemon.c b/src/daemon/mnd-daemon.c index 81a0b99..fde743d 100644 --- a/src/daemon/mnd-daemon.c +++ b/src/daemon/mnd-daemon.c @@ -63,12 +63,15 @@ static gboolean parse_arguments (int *argc, char ***argv) error = NULL; if (g_option_context_parse (context, argc, argv, &error) == FALSE) { + g_option_context_free (context); g_warning ("Failed to parse command line arguments: %s", error->message); g_error_free (error); return FALSE; } + g_option_context_free (context); + if (debug) g_setenv ("G_MESSAGES_DEBUG", "all", FALSE); |