summaryrefslogtreecommitdiffstats
path: root/plugins/imtcp/imtcp.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2012-08-28 19:07:58 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2012-08-28 19:07:58 +0200
commit7348da7e02fae85ad24dd496f1cd8f6385cfcfa8 (patch)
treedfd2fa42f1648301ee34043fffee65b7b9451c44 /plugins/imtcp/imtcp.c
parent72e1ccbc69d3b6047a98cfd45c00acab76c1d327 (diff)
downloadrsyslog-7348da7e02fae85ad24dd496f1cd8f6385cfcfa8.tar.gz
rsyslog-7348da7e02fae85ad24dd496f1cd8f6385cfcfa8.tar.bz2
rsyslog-7348da7e02fae85ad24dd496f1cd8f6385cfcfa8.zip
bugfix: imtcp could abort on exit due to invalid free()
Diffstat (limited to 'plugins/imtcp/imtcp.c')
-rw-r--r--plugins/imtcp/imtcp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/imtcp/imtcp.c b/plugins/imtcp/imtcp.c
index a3365d44..f021307b 100644
--- a/plugins/imtcp/imtcp.c
+++ b/plugins/imtcp/imtcp.c
@@ -370,7 +370,6 @@ BEGINfreeCnf
CODESTARTfreeCnf
for(inst = pModConf->root ; inst != NULL ; ) {
free(inst->pszBindPort);
- free(inst->pBindRuleset);
free(inst->pszInputName);
del = inst;
inst = inst->next;