fix small memory leak with string-type templates

This commit is contained in:
Rainer Gerhards 2012-10-11 09:35:29 +02:00
parent 573a2163dd
commit 9de5fb77eb

View File

@ -1847,6 +1847,7 @@ tplProcessCnf(struct cnfobj *o)
pTpl->optFormatEscape = JSON_ESCAPE;
finalize_it:
free(tplStr);
if(pvals != NULL)
cnfparamvalsDestruct(pvals, &pblk);
if(iRet != RS_RET_OK) {