about summary refs log tree commit diff stats
path: root/src/main.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2012-07-31 23:20:11 +0100
committerJames Booth <boothj5@gmail.com>2012-07-31 23:20:11 +0100
commit453fcae2838f0e260eba4d0e69991e3f48b31abf (patch)
tree700514e90c7bf8bf202ca223d9af3fa574945dd3 /src/main.c
parentf47b3304bd9d7fee2ea5a68ece443a8b0de2faf6 (diff)
downloadprofani-tty-453fcae2838f0e260eba4d0e69991e3f48b31abf.tar.gz
Fixed definite memory leaks
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index c4175160..5e1ef9c5 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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);