projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74ec947
)
gdesktopappinfo: Initialize sn_id to NULL
author
Colin Walters
<walters@verbum.org>
Sat, 12 Apr 2014 17:21:20 +0000
(13:21 -0400)
committer
Colin Walters
<walters@verbum.org>
Sat, 12 Apr 2014 17:21:20 +0000
(13:21 -0400)
Otherwise we'll be freeing a random stack pointer.
gio/gdesktopappinfo.c
patch
|
blob
|
history
diff --git
a/gio/gdesktopappinfo.c
b/gio/gdesktopappinfo.c
index 7cf3cc08a8f37a35bfec8613eced1308d502ada2..3d5fe015c6d638b8f2708fbaf6126896cc6e0212 100644
(file)
--- 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))