about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index 5c95a994..140df545 100644
--- a/src/main.c
+++ b/src/main.c
@@ -82,6 +82,7 @@ main(int argc, char **argv)
     if (!g_option_context_parse(context, &argc, &argv, &error)) {
         g_print("%s\n", error->message);
         g_option_context_free(context);
+        g_error_free(error);
         return 1;
     }