about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-11-26 02:20:44 +0000
committerJames Booth <boothj5@gmail.com>2012-11-26 02:20:44 +0000
commitc9ed583412fef4dd2260ce14a4d0aa9dfc24e226 (patch)
treef1e103318966e74a4a29921757922797c752b621 /src/main.c
parentb2f9e1ad5ff37d7dd7424d1bec42faba7bffb883 (diff)
downloadprofani-tty-c9ed583412fef4dd2260ce14a4d0aa9dfc24e226.tar.gz
Fixed some memory leaks
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index fa84cf7b..5d6069f1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -48,6 +48,7 @@ main(int argc, char **argv)
     g_option_context_add_main_entries(context, entries, NULL);
     if (!g_option_context_parse(context, &argc, &argv, &error)) {
         g_print("%s\n", error->message);
+        g_option_context_free(context);
         return 1;
     }