updateiconcache: Fix GOptionContext leak in main
This commit is contained in:
@ -1719,6 +1719,7 @@ main (int argc, char **argv)
|
|||||||
g_option_context_add_main_entries (context, args, GETTEXT_PACKAGE);
|
g_option_context_add_main_entries (context, args, GETTEXT_PACKAGE);
|
||||||
|
|
||||||
g_option_context_parse (context, &argc, &argv, NULL);
|
g_option_context_parse (context, &argc, &argv, NULL);
|
||||||
|
g_option_context_free (context);
|
||||||
|
|
||||||
path = argv[1];
|
path = argv[1];
|
||||||
#ifdef G_OS_WIN32
|
#ifdef G_OS_WIN32
|
||||||
|
|||||||
Reference in New Issue
Block a user