forked from pool/systemd
25 lines
706 B
Diff
25 lines
706 B
Diff
From 99d0966e75a984bed4f117c888ecc93e16e7b7b6 Mon Sep 17 00:00:00 2001
|
|
From: Lennart Poettering <lennart@poettering.net>
|
|
Date: Mon, 3 Nov 2014 21:11:16 +0100
|
|
Subject: [PATCH] journald: fix minor memory leak
|
|
|
|
---
|
|
src/journal/journald-server.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git src/journal/journald-server.c src/journal/journald-server.c
|
|
index e062427..cf6bbcc 100644
|
|
--- src/journal/journald-server.c
|
|
+++ 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);
|
|
--
|
|
1.7.9.2
|
|
|