summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-11-03 21:11:16 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-03 21:51:28 +0100
commit99d0966e75a984bed4f117c888ecc93e16e7b7b6 (patch)
tree21963ea80ccea1f77bbf6563b9185d63eb217aac
parentcfb1f5df7ce6868d3edb7333591b91c9809d64d3 (diff)
journald: fix minor memory leak
-rw-r--r--src/journal/journald-server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c
index e06242769e..cf6bbcc1a8 100644
--- a/src/journal/journald-server.c
+++ b/src/journal/journald-server.c
@@ -1690,6 +1690,7 @@ void server_done(Server *s) {
free(s->buffer);
free(s->tty_path);
free(s->cgroup_root);
+ free(s->hostname_field);
if (s->mmap)
mmap_cache_unref(s->mmap);