projects
/
platform
/
upstream
/
dbus.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'doxygenate' into dbus-1.4
[platform/upstream/dbus.git]
/
tools
/
dbus-launch-x11.c
diff --git
a/tools/dbus-launch-x11.c
b/tools/dbus-launch-x11.c
index
0d37134
..
0f344ab
100644
(file)
--- a/
tools/dbus-launch-x11.c
+++ b/
tools/dbus-launch-x11.c
@@
-405,6
+405,7
@@
set_address_in_file (char *address, pid_t pid, Window wid)
return FALSE;
f = fopen (session_file, "w");
+ free (session_file);
if (f == NULL)
return FALSE; /* some kind of error */
fprintf (f,
@@
-421,7
+422,6
@@
set_address_in_file (char *address, pid_t pid, Window wid)
address, (long)pid, (long)wid);
fclose (f);
- free (session_file);
return TRUE;
}