diff -ur dbus-1.3.1/tools/dbus-launch-x11.c dbus-herzi/tools/dbus-launch-x11.c --- dbus-1.3.1/tools/dbus-launch-x11.c 2010-05-20 21:22:12.000000000 +0200 +++ dbus-herzi/tools/dbus-launch-x11.c 2010-09-07 15:26:44.617136292 +0200 @@ -404,6 +404,7 @@ return FALSE; f = fopen (session_file, "w"); + free (session_file); if (f == NULL) return FALSE; /* some kind of error */ fprintf (f, @@ -420,7 +421,6 @@ address, (long)pid, (long)wid); fclose (f); - free (session_file); return TRUE; }