[systemd-commits] src/journal

Harald Hoyer harald at kemper.freedesktop.org
Tue Jul 31 05:16:00 PDT 2012


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

New commits:
commit 4cdc45994a9444820ae0d11b1a8b29dc5641ba15
Author: Artur Zaprzala <zybi at talex.pl>
Date:   Tue Jul 31 14:14:51 2012 +0200

    journald: fixed memory leak

diff --git a/src/journal/journald.c b/src/journal/journald.c
index 8cf8c78..af136e5 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) {



More information about the systemd-commits mailing list