forked from pool/systemd
ba9b55aa79
1 OBS-URL: https://build.opensuse.org/request/show/262952 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=209
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
|
|
|