summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-03-14 18:31:38 +0100
committerLennart Poettering <lennart@poettering.net>2012-03-14 18:31:38 +0100
commit071fd8c21eb43f9e465309304c6072ba45ee8dd1 (patch)
tree8b492f771415777fb1ebde30a1702b8889ed5b7e /src/journal
parent189f6d82eef8bccb733f735281bed4588dccbbd9 (diff)
journal: fix memory leak
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journald.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c
index ad7c655ff4..aea7816679 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);
}