diff options
author | James Booth <boothj5@gmail.com> | 2014-06-23 21:17:07 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-06-23 21:17:07 +0100 |
commit | 98bc1abbe57214b6d78de94323b1433ab5fc753d (patch) | |
tree | cd6142f00b063582df7c1d65e5c66590146e79be | |
parent | d668d15081f3d38d618457cb9016100acc6877dc (diff) | |
download | profani-tty-98bc1abbe57214b6d78de94323b1433ab5fc753d.tar.gz |
Free GError on command line option parse
-rw-r--r-- | src/main.c | 1 |
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; } |