From 95d9202c099a1bf00a291c384b31d614168ecbb2 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Tue, 29 May 2012 12:35:13 +0200 Subject: bugfix: invalid free in imptcp could lead to abort during startup --- plugins/imptcp/imptcp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins') diff --git a/plugins/imptcp/imptcp.c b/plugins/imptcp/imptcp.c index ba323a94..90216b5b 100644 --- a/plugins/imptcp/imptcp.c +++ b/plugins/imptcp/imptcp.c @@ -1362,6 +1362,8 @@ CODESTARTendCnfLoad /* free legacy config vars */ free(cs.pszInputName); free(cs.lstnIP); + cs.pszInputName = NULL; + cs.lstnIP = NULL; ENDendCnfLoad -- cgit