[glib: 2/11] gdesktopappinfo: Fix a minor command line leak
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib: 2/11] gdesktopappinfo: Fix a minor command line leak
- Date: Fri, 29 Jun 2018 13:32:50 +0000 (UTC)
commit 6db2412b41ebd6d61b5c6dac49adaf3b324d4ca0
Author: Philip Withnall <withnall endlessm com>
Date: Wed Jun 27 09:52:33 2018 +0100
gdesktopappinfo: Fix a minor command line leak
Signed-off-by: Philip Withnall <withnall endlessm com>
gio/gdesktopappinfo.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/gio/gdesktopappinfo.c b/gio/gdesktopappinfo.c
index 617a096fb..d0ffbace3 100644
--- a/gio/gdesktopappinfo.c
+++ b/gio/gdesktopappinfo.c
@@ -4698,6 +4698,8 @@ g_desktop_app_info_launch_action (GDesktopAppInfo *info,
g_desktop_app_info_launch_uris_with_spawn (info, session_bus, exec_line, NULL, launch_context,
_SPAWN_FLAGS_DEFAULT, NULL, NULL, NULL, NULL,
-1, -1, -1, NULL);
+
+ g_free (exec_line);
}
if (session_bus != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]