diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c index 7cf3cc08a..3d5fe015c 100644 --- a/gio/gdesktopappinfo.c +++ b/gio/gdesktopappinfo.c @@ -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))