summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-01-14 18:29:33 +0100
committerRainer Gerhards <rgerhards@adiscon.com>2012-01-14 18:29:33 +0100
commitd5a18a93ae585c25d67ec200b308f08c6bd6d5b2 (patch)
tree4edbbc65a886590ccca64ec9dacc00b570a747f6 /tools
parenta468063315c3ce5eccc702080bebeb79158ad6b7 (diff)
downloadrsyslog-d5a18a93ae585c25d67ec200b308f08c6bd6d5b2.tar.gz
rsyslog-d5a18a93ae585c25d67ec200b308f08c6bd6d5b2.tar.xz
rsyslog-d5a18a93ae585c25d67ec200b308f08c6bd6d5b2.zip
omfwd refactor: even more simplification (small one ;))
Diffstat (limited to 'tools')
-rw-r--r--tools/omfwd.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/omfwd.c b/tools/omfwd.c
index acc2f6f6..b456db17 100644
--- a/tools/omfwd.c
+++ b/tools/omfwd.c
@@ -467,8 +467,7 @@ CODESTARTdoAction
}
finalize_it:
# ifdef USE_NETZIP
- if(out != NULL)
- free(out);
+ free(out); /* is NULL if it was never used... */
# endif
ENDdoAction