From: Lennart Poettering Date: Wed, 14 Mar 2012 17:31:38 +0000 (+0100) Subject: journal: fix memory leak X-Git-Tag: v44~28 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=071fd8c21eb43f9e465309304c6072ba45ee8dd1;p=systemd journal: fix memory leak --- diff --git a/src/journal/journald.c b/src/journal/journald.c index ad7c655f..aea78166 100644 --- a/src/journal/journald.c +++ b/src/journal/journald.c @@ -1310,6 +1310,7 @@ finish: free(iovec[j].iov_base); } + free(iovec); free(identifier); free(message); }