[emerillon/gtk3] Call g_option_context_free() to free context after parsing arguments



commit f3c32150f8a6d3d8cd444a8c87030baf0318a85b
Author: Laurent Bigonville <bigon bigon be>
Date:   Wed Aug 10 22:00:29 2011 +0200

    Call g_option_context_free() to free context after parsing arguments

 emerillon/main.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/emerillon/main.c b/emerillon/main.c
index 6cda3b8..53a251a 100644
--- a/emerillon/main.c
+++ b/emerillon/main.c
@@ -114,6 +114,7 @@ parse_options (int *argc,
       g_error_free(error);
       exit (1);
     }
+  g_option_context_free (context);
 }
 
 int



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]