journal: fix bad memory access

This commit is contained in:
Lennart Poettering
2012-01-14 01:54:33 +01:00
parent 0dad12c190
commit 5c3759bf8a
+1 -1
View File
@@ -489,7 +489,7 @@ static void dispatch_message_real(Server *s,
exe = strappend("_EXE=", t);
free(t);
if (comm)
if (exe)
IOVEC_SET_STRING(iovec[n++], exe);
}