summaryrefslogtreecommitdiffstats
path: root/tools/omfwd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-01-26 12:03:50 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-01-26 12:03:50 +0100
commit62e00d7a1c1d0301d50e7a28cb84563d61410ecd (patch)
treec7496b89e62eabe3fb376c0b1c9ea8f015f0afec /tools/omfwd.c
parentad58b9c8fbc6159a361d40d97decddb95758c0a7 (diff)
parent939852b1cdfaed376342a3a0aa4b0fb7c14f55c5 (diff)
downloadrsyslog-62e00d7a1c1d0301d50e7a28cb84563d61410ecd.tar.gz
rsyslog-62e00d7a1c1d0301d50e7a28cb84563d61410ecd.tar.xz
rsyslog-62e00d7a1c1d0301d50e7a28cb84563d61410ecd.zip
Merge branch 'v4-beta' into tmp
Conflicts: ChangeLog
Diffstat (limited to 'tools/omfwd.c')
-rw-r--r--tools/omfwd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/omfwd.c b/tools/omfwd.c
index fe65f515..02f19eac 100644
--- a/tools/omfwd.c
+++ b/tools/omfwd.c
@@ -483,6 +483,12 @@ CODESTARTdoAction
}
}
finalize_it:
+# ifdef USE_NETZIP
+ if(psz != (char*) ppString[0]) {
+ /* we need to free temporary buffer, alloced above - Naoya Nakazawa, 2010-01-11 */
+ free(psz);
+ }
+# endif
ENDdoAction