summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-21 22:28:48 +0200
committerrbuj <[email protected]>2021-10-21 22:28:48 +0200
commit6056ff76941ceb13ed62b5308f23a81ba810c43b (patch)
tree30e66f620bf79066031d5c60eddc570ac113ed20
parent3d70c8ec7b5b3847fe906974dc178d03a05bdaf7 (diff)
downloadmate-utils-mate-disk-image-mounter-ml.tar.bz2
mate-utils-mate-disk-image-mounter-ml.tar.xz
mate-disk-image-mounter: fix memory leakmate-disk-image-mounter-ml
-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)
{