From 4d0fcca412ed9491d1e10bb2ce0b4c7256219118 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Mon, 25 Jun 2012 17:06:40 +0200 Subject: a bit more cleanup --- tools/omfile.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'tools') diff --git a/tools/omfile.c b/tools/omfile.c index 446e1b32..0fbc9207 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -791,12 +791,10 @@ ENDsetModCnf BEGINendCnfLoad CODESTARTendCnfLoad - /* persist module-specific settings from legacy config system */ - //... - loadModConf = NULL; /* done loading */ /* free legacy config vars */ - //... + free(pszFileDfltTplName); + pszFileDfltTplName = NULL; ENDendCnfLoad BEGINcheckCnf @@ -1111,7 +1109,6 @@ BEGINmodExit CODESTARTmodExit objRelease(errmsg, CORE_COMPONENT); objRelease(strm, CORE_COMPONENT); - free(pszFileDfltTplName); DESTROY_ATOMIC_HELPER_MUT(mutClock); ENDmodExit -- cgit