Merge branch 'cm/fix-goptioncontext-leak' into 'main'
updateiconcache: Fix GOptionContext leak in main See merge request GNOME/gtk!7918
This commit is contained in:
@@ -1708,6 +1708,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