mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-16 12:28:48 +02: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;
|
GPid pid;
|
||||||
GList *launched_uris;
|
GList *launched_uris;
|
||||||
GList *iter;
|
GList *iter;
|
||||||
char *display, *sn_id;
|
char *display, *sn_id = NULL;
|
||||||
|
|
||||||
old_uris = uris;
|
old_uris = uris;
|
||||||
if (!expand_application_parameters (info, exec_line, &uris, &argc, &argv, error))
|
if (!expand_application_parameters (info, exec_line, &uris, &argc, &argv, error))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user