Fix memory leak in stdout journal streams

Just as 'identifier' is strdup-ed and freed, we need to do the same for
unit_id.
This commit is contained in:
Dan McGee
2013-12-08 14:33:45 -06:00
committed by David Strauss
parent e13bb5d2b1
commit f92ae4968f

View File

@@ -340,6 +340,7 @@ void stdout_stream_free(StdoutStream *s) {
#endif
free(s->identifier);
free(s->unit_id);
free(s);
}