Fixed some memory leaks

This commit is contained in:
James Booth
2012-11-26 02:20:44 +00:00
parent b2f9e1ad5f
commit c9ed583412
6 changed files with 38 additions and 4 deletions

View File

@@ -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;
}