From be2625dd9f8735529569c776f598d935243b4dba Mon Sep 17 00:00:00 2001 From: Hwankyu Jhun Date: Thu, 27 Jul 2017 19:02:24 +0900 Subject: [PATCH] Fix double free issue Change-Id: I339aebc485ae9c1bb1a8e3b492255c9baafab0ab Signed-off-by: Hwankyu Jhun --- tool/app_launcher.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/tool/app_launcher.c b/tool/app_launcher.c index ac25fa6..8c119c9 100644 --- a/tool/app_launcher.c +++ b/tool/app_launcher.c @@ -776,14 +776,12 @@ int main(int argc, char *argv[]) if (!g_option_context_parse(context, &argc, &argv, &error)) { printf("%s: %s\n", argv[0], error->message); - g_option_group_unref(opt_group); g_option_context_free(context); g_clear_error(&error); return -1; } help = g_option_context_get_help(context, TRUE, NULL); - g_option_group_unref(opt_group); g_option_context_free(context); launch_arg = __create_launch_arg(argc, argv); -- 2.7.4