[systemd-commits] src/journal

Lennart Poettering lennart at kemper.freedesktop.org
Wed Mar 14 10:31:45 PDT 2012


 src/journal/journald.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 071fd8c21eb43f9e465309304c6072ba45ee8dd1
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Mar 14 18:31:38 2012 +0100

    journal: fix memory leak

diff --git a/src/journal/journald.c b/src/journal/journald.c
index ad7c655..aea7816 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);
 }



More information about the systemd-commits mailing list