diff options
author | Artur Zaprzala <zybi@talex.pl> | 2012-07-31 14:14:51 +0200 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2012-07-31 14:15:34 +0200 |
commit | 4cdc45994a9444820ae0d11b1a8b29dc5641ba15 (patch) | |
tree | c7470a9d7ea4bb1df39ef1269f447c55bd506722 | |
parent | a267bebf464cbb339d3411370f2e984dfc063567 (diff) |
journald: fixed memory leak
-rw-r--r-- | src/journal/journald.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journald.c b/src/journal/journald.c index 8cf8c78274..af136e5667 100644 --- a/src/journal/journald.c +++ b/src/journal/journald.c @@ -1174,6 +1174,7 @@ static void process_syslog_message(Server *s, const char *buf, struct ucred *ucr free(syslog_priority); free(syslog_facility); free(syslog_identifier); + free(syslog_pid); } static bool valid_user_field(const char *p, size_t l) { |