summaryrefslogtreecommitdiff
path: root/mate-disk-image-mounter
diff options
context:
space:
mode:
Diffstat (limited to 'mate-disk-image-mounter')
-rw-r--r--mate-disk-image-mounter/src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mate-disk-image-mounter/src/main.c b/mate-disk-image-mounter/src/main.c
index b4f4d221..fc65b2d5 100644
--- a/mate-disk-image-mounter/src/main.c
+++ b/mate-disk-image-mounter/src/main.c
@@ -191,8 +191,10 @@ main (int argc, char *argv[])
s = g_option_context_get_help (o, FALSE, NULL);
g_printerr ("%s", s);
g_free (s);
+ g_option_context_free (o);
goto out;
}
+ g_option_context_free (o);
if (argc > 1)
{