Commit af1772b6 authored by Colin Walters's avatar Colin Walters

gdesktopappinfo: Initialize sn_id to NULL

Otherwise we'll be freeing a random stack pointer.
parent 74ec9470
......@@ -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))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment