1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-06 16:59:03 +03:00

journal: fix bad memory access

This commit is contained in:
Lennart Poettering 2012-01-14 01:53:47 +01:00
parent 0dad12c190
commit 5c3759bf8a

View File

@ -489,7 +489,7 @@ static void dispatch_message_real(Server *s,
exe = strappend("_EXE=", t); exe = strappend("_EXE=", t);
free(t); free(t);
if (comm) if (exe)
IOVEC_SET_STRING(iovec[n++], exe); IOVEC_SET_STRING(iovec[n++], exe);
} }