diff options
Diffstat (limited to 'gio/gio-tool-list.c')
-rw-r--r-- | gio/gio-tool-list.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gio/gio-tool-list.c b/gio/gio-tool-list.c index 528024fb8..116ed1fe6 100644 --- a/gio/gio-tool-list.c +++ b/gio/gio-tool-list.c @@ -178,6 +178,7 @@ handle_list (int argc, char *argv[], gboolean do_help) if (do_help) { show_help (context, NULL); + g_option_context_free (context); return 0; } @@ -185,6 +186,7 @@ handle_list (int argc, char *argv[], gboolean do_help) { show_help (context, error->message); g_error_free (error); + g_option_context_free (context); return 1; } |