Commit 1ee22d0a authored by Nirbheek Chauhan's avatar Nirbheek Chauhan 👉

Merge branch 'bugfix/appinfo-launch-urilist-leak' into 'master'

gdesktopappinfo: Fix unnecessarily copied and leaked URI list

See merge request !1563
parents b101dbda 88fe7813
Pipeline #193908 passed with stages
in 32 minutes and 52 seconds
......@@ -2727,7 +2727,7 @@ g_desktop_app_info_launch_uris_with_spawn (GDesktopAppInfo *info,
* internally by expand_macro(), so we need to pass a copy of it instead,
* and also use that copy to control the exit condition of the loop below.
dup_uris = g_list_copy (uris);
dup_uris = uris;
GPid pid;
......@@ -2864,7 +2864,6 @@ g_desktop_app_info_launch_uris_with_spawn (GDesktopAppInfo *info,
completed = TRUE;
g_list_free (dup_uris);
g_strfreev (argv);
g_strfreev (envp);
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