From c9ed583412fef4dd2260ce14a4d0aa9dfc24e226 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 26 Nov 2012 02:20:44 +0000 Subject: Fixed some memory leaks --- src/main.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/main.c') 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; } -- cgit 1.4.1-2-gfad0