From 9de5fb77ebc219c0633c6204addaa6997a1da9d2 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(+) diff --git a/template.c b/template.c index 8558dd8a..89e9a0c8 100644 --- a/template.c +++ b/template.c @@ -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) { -- cgit v1.2.3 From 231abc9709b30b445a6129dddd1087f30f68bcfe Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 11 Oct 2012 09:33:12 +0200 Subject: fix small memory leak when template is specified in omfile --- tools/omfile.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/omfile.c b/tools/omfile.c index 1ccd4a56..efdb61a1 100644 --- a/tools/omfile.c +++ b/tools/omfile.c @@ -820,6 +820,7 @@ ENDcreateInstance BEGINfreeInstance CODESTARTfreeInstance + free(pData->tplName); free(pData->f_fname); if(pData->bDynamicName) { dynaFileFreeCache(pData); -- cgit v1.2.3 From 5114dc9fa217ac2c8a0d99e714fa42749744fa80 Mon Sep 17 00:00:00 2001 From: Rainer Gerhards Date: Thu, 11 Oct 2012 09:39:14 +0200 Subject: mention recent changes in ChangeLog --- ChangeLog | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 2fbdf8db..b37e3357 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,9 @@ ---------------------------------------------------------------------------- + --------------------------------------------------------------------------- +Version 7.1.10 [beta] 2012-10-11 + - bugfix: m4 directory was not present in release tarball + - bugfix: small memory leak with string-type templates + - bugfix: small memory leak when template was specified in omfile + --------------------------------------------------------------------------- Version 7.1.9 [beta] 2012-10-09 - bugfix: comments inside objects (e.g. action()) were not properly handled - bugfix: in (non)equal comparisons the position of arrays influenced result -- cgit v1.2.3