mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-05 10:38:08 +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
058491cb6f
commit
efb43ef813
@ -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…
x
Reference in New Issue
Block a user