mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 09:46:17 +01:00
gio/gdesktopappinfo: Free the wrapped argv array on launch failure
We create an array that we never free, ensure this is the case. The previous commit gives CI a chance to check this with valgrind job. Found as part of another review: - https://gitlab.gnome.org/GNOME/glib/-/merge_requests/2839#note_1524922
This commit is contained in:
parent
37e61d66c3
commit
dafd6602dc
@ -2963,6 +2963,7 @@ g_desktop_app_info_launch_uris_with_spawn (GDesktopAppInfo *info,
|
||||
|
||||
g_free (sn_id);
|
||||
g_list_free (launched_uris);
|
||||
g_clear_pointer (&wrapped_argv, g_strfreev);
|
||||
|
||||
goto out;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user