[gnome-flashback] main: free GOptionContext
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback] main: free GOptionContext
- Date: Wed, 27 Apr 2016 15:50:09 +0000 (UTC)
commit d7684c13221362c9fe4fe153f33f182c5833e0a4
Author: Alberts Muktupāvels <alberts muktupavels gmail com>
Date: Wed Apr 27 18:19:20 2016 +0300
main: free GOptionContext
gnome-flashback/gf-main.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gnome-flashback/gf-main.c b/gnome-flashback/gf-main.c
index ddf25ba..95444e2 100644
--- a/gnome-flashback/gf-main.c
+++ b/gnome-flashback/gf-main.c
@@ -77,12 +77,16 @@ parse_arguments (int *argc,
g_warning ("Failed to parse command line arguments: %s", error->message);
g_error_free (error);
+ g_option_context_free (context);
+
return FALSE;
}
if (debug)
g_setenv ("G_MESSAGES_DEBUG", "all", FALSE);
+ g_option_context_free (context);
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]