From 98bc1abbe57214b6d78de94323b1433ab5fc753d Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 23 Jun 2014 21:17:07 +0100 Subject: Free GError on command line option parse --- 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 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; } -- cgit 1.4.1-2-gfad0