journald: fixed memory leak

This commit is contained in:
Artur Zaprzala 2012-07-31 14:14:51 +02:00 committed by Harald Hoyer
parent a267bebf46
commit 4cdc45994a
1 changed files with 1 additions and 0 deletions

View File

@ -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) {