Fixed definite memory leaks

This commit is contained in:
James Booth
2012-07-31 23:20:11 +01:00
parent f47b3304bd
commit 453fcae283
2 changed files with 8 additions and 0 deletions

View File

@@ -52,6 +52,8 @@ main(int argc, char **argv)
return 1;
}
g_option_context_free(context);
if (version == TRUE) {
g_print("Profanity, version %s\n", PACKAGE_VERSION);
g_print("Copyright (C) 2012 James Booth <%s>.\n", PACKAGE_BUGREPORT);