summaryrefslogtreecommitdiffstats
path: root/tools/omfwd.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-01-12 13:33:51 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2010-01-12 13:33:51 +0100
commitd7277484811249b7acacb45a223928980e1a36b4 (patch)
treea9fc69c013b34b79904d6cb9d0c9a0242e5466e4 /tools/omfwd.c
parentd3592db45bfc4939c2d72c73a42ed9f79cb64052 (diff)
parentf88291d561eb785317a39a644c53a0cf86633eaa (diff)
downloadrsyslog-d7277484811249b7acacb45a223928980e1a36b4.tar.gz
rsyslog-d7277484811249b7acacb45a223928980e1a36b4.tar.xz
rsyslog-d7277484811249b7acacb45a223928980e1a36b4.zip
Merge branch 'v4-beta' into beta
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 76beb486..0fac251b 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