[systemd-devel] [PATCH] Fix memory leak in stdout journal streams

Dan McGee dan at archlinux.org
Sun Dec 8 11:27:31 PST 2013


---
 src/journal/journald-stream.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/journal/journald-stream.c b/src/journal/journald-stream.c
index 890c0bf..eb9ea36 100644
--- a/src/journal/journald-stream.c
+++ b/src/journal/journald-stream.c
@@ -360,6 +360,7 @@ void stdout_stream_free(StdoutStream *s) {
 
         free(s->buffer);
         free(s->identifier);
+        free(s->unit_id);
         free(s);
 }
 
-- 
1.8.5.1



More information about the systemd-devel mailing list