diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | tools/syslogd.c | 2 |
2 files changed, 8 insertions, 0 deletions
@@ -1,4 +1,10 @@ --------------------------------------------------------------------------- +Version 4.5.2 [DEVEL] (rgerhards), 2009-07-?? +- bugfix: memory leak with some input modules. Those inputs that + use parseAndSubmitMsg() leak two small memory blocks with every message. + Typically, those process only relatively few messages, so the issue + does most probably not have any effect in practice. +--------------------------------------------------------------------------- Version 4.5.1 [DEVEL] (rgerhards), 2009-07-15 - CONFIG CHANGE: $HUPisRestart default is now "off". We are doing this to support removal of restart-type HUP in v5. diff --git a/tools/syslogd.c b/tools/syslogd.c index 7f995e1c..3846e6a9 100644 --- a/tools/syslogd.c +++ b/tools/syslogd.c @@ -602,6 +602,8 @@ static inline rsRetVal printline(uchar *hname, uchar *hnameIP, uchar *msg, int f MsgSetRcvFromStr(pMsg, hname, ustrlen(hname), &propFromHost); CHKiRet(MsgSetRcvFromIPStr(pMsg, hnameIP, ustrlen(hnameIP), &propFromHostIP)); MsgSetAfterPRIOffs(pMsg, p - msg); + prop.Destruct(&propFromHost); + prop.Destruct(&propFromHostIP); logmsg(pMsg, flags); |