summaryrefslogtreecommitdiffstats
path: root/tcpsrv.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2011-06-14 14:22:37 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2011-06-14 14:22:37 +0200
commitf4c5f0a4cc2b06865e048d7c7c716ca7ca2a3b06 (patch)
tree923b0bdf2e87fa7e28eaf735ed037f56289730cb /tcpsrv.c
parent49d7b4cd666429ece524ea4b3b2bd4041b5662e5 (diff)
parent6afbb39ea197623688e36b74f81f5ec45d0b15ff (diff)
downloadrsyslog-f4c5f0a4cc2b06865e048d7c7c716ca7ca2a3b06.tar.gz
rsyslog-f4c5f0a4cc2b06865e048d7c7c716ca7ca2a3b06.tar.xz
rsyslog-f4c5f0a4cc2b06865e048d7c7c716ca7ca2a3b06.zip
Merge branch 'v4-devel' into v5-devel
Conflicts: tcpsrv.c
Diffstat (limited to 'tcpsrv.c')
-rw-r--r--tcpsrv.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tcpsrv.c b/tcpsrv.c
index 4658555f..351b4f76 100644
--- a/tcpsrv.c
+++ b/tcpsrv.c
@@ -622,7 +622,9 @@ finalize_it: /* this is a very special case - this time only we do not exit the
* crashed, which made sense (the rest of the engine was not prepared for
* that) -- rgerhards, 2008-05-19
*/
- /*EMPTY*/;
+ if(pSel != NULL) { /* cleanup missing? happens during err exit! */
+ nssel.Destruct(&pSel);
+ }
}
/* note that this point is usually not reached */