[gnome-flashback/gnome-3-18] main: free GOptionContext
- From: Alberts Muktupāvels <muktupavels src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-flashback/gnome-3-18] main: free GOptionContext
- Date: Thu, 28 Apr 2016 21:27:34 +0000 (UTC)
commit 9f7d72708f345080f9ca788d10df55fc04407154
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]