summaryrefslogtreecommitdiffstats
path: root/tools/syslogd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2009-07-15 14:09:56 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2009-07-15 14:09:56 +0200
commit46dc3f6d64695bac31fada56b04c373323774e49 (patch)
treec1fc51ec439db0de735ca2ff56082d326b949179 /tools/syslogd.c
parent766e3e93d86d0284b135ee37f57d5af9dd25e298 (diff)
parent8b8ac5e42c145174f0996df44bf3edd2132186ba (diff)
downloadrsyslog-46dc3f6d64695bac31fada56b04c373323774e49.tar.gz
rsyslog-46dc3f6d64695bac31fada56b04c373323774e49.tar.xz
rsyslog-46dc3f6d64695bac31fada56b04c373323774e49.zip
Merge branch 'beta'
Conflicts: ChangeLog
Diffstat (limited to 'tools/syslogd.c')
-rw-r--r--tools/syslogd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/syslogd.c b/tools/syslogd.c
index 804259d1..70fbeb81 100644
--- a/tools/syslogd.c
+++ b/tools/syslogd.c
@@ -604,6 +604,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);