summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
authorHwankyu Jhun <h.jhun@samsung.com>2017-07-27 19:02:24 +0900
committerHwankyu Jhun <h.jhun@samsung.com>2017-07-27 19:05:30 +0900
commitbe2625dd9f8735529569c776f598d935243b4dba (patch)
tree044ff986172bdca240d22f19074e1b33cf61a222 /tool
parent44509e7c865e90526279fafd6856a30661860241 (diff)
downloadaul-1-be2625dd9f8735529569c776f598d935243b4dba.tar.gz
aul-1-be2625dd9f8735529569c776f598d935243b4dba.tar.bz2
aul-1-be2625dd9f8735529569c776f598d935243b4dba.zip
Fix double free issue
Change-Id: I339aebc485ae9c1bb1a8e3b492255c9baafab0ab Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Diffstat (limited to 'tool')
-rw-r--r--tool/app_launcher.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tool/app_launcher.c b/tool/app_launcher.c
index ac25fa67..8c119c96 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);