mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-14 00:06:24 +01:00
gdesktopappinfo: Initialize sn_id to NULL
Otherwise we'll be freeing a random stack pointer.
This commit is contained in:
parent
74ec947079
commit
af1772b642
@ -2126,7 +2126,7 @@ g_desktop_app_info_launch_uris_with_spawn (GDesktopAppInfo *info,
|
||||
GPid pid;
|
||||
GList *launched_uris;
|
||||
GList *iter;
|
||||
char *display, *sn_id;
|
||||
char *display, *sn_id = NULL;
|
||||
|
||||
old_uris = uris;
|
||||
if (!expand_application_parameters (info, exec_line, &uris, &argc, &argv, error))
|
||||
|
Loading…
Reference in New Issue
Block a user