mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
gdesktopappinfo: Don't double free sn_id
Not sure why mclasen added a g_free() in that path, it was just wrong. We free it correctly later.
This commit is contained in:
parent
af1772b642
commit
2d96503898
@ -2183,10 +2183,7 @@ g_desktop_app_info_launch_uris_with_spawn (GDesktopAppInfo *info,
|
|||||||
G_APP_INFO (info),
|
G_APP_INFO (info),
|
||||||
launched_files);
|
launched_files);
|
||||||
if (sn_id)
|
if (sn_id)
|
||||||
{
|
envp = g_environ_setenv (envp, "DESKTOP_STARTUP_ID", sn_id, TRUE);
|
||||||
envp = g_environ_setenv (envp, "DESKTOP_STARTUP_ID", sn_id, TRUE);
|
|
||||||
g_free (sn_id);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
g_list_free_full (launched_files, g_object_unref);
|
g_list_free_full (launched_files, g_object_unref);
|
||||||
|
Loading…
Reference in New Issue
Block a user