Change-Id: I0dfcce50b2eb9ff36c6f0413e23b0199e51a7eae
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
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);
return 0;