chiark / gitweb /
journald: fix minor memory leak
authorLennart Poettering <lennart@poettering.net>
Mon, 3 Nov 2014 20:11:16 +0000 (21:11 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 3 Nov 2014 20:51:28 +0000 (21:51 +0100)
src/journal/journald-server.c

index e062427..cf6bbcc 100644 (file)
@@ -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);