From d5b9d43f6abfb8af1433062bb32953cb422ac380 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 11 Oct 2012 09:35:29 +0200 Subject: fix small memory leak with string-type templates --- template.c | 1 + 1 file changed, 1 insertion(+) (limited to 'template.c') diff --git a/template.c b/template.c index 06306115..9cf35fd7 100644 --- a/template.c +++ b/template.c @@ -1753,6 +1753,7 @@ tplProcessCnf(struct cnfobj *o) pTpl->optFormatEscape = JSON_ESCAPE; finalize_it: + free(tplStr); if(pvals != NULL) cnfparamvalsDestruct(pvals, &pblk); if(iRet != RS_RET_OK) { -- cgit