mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-16 22:40:40 +01:00
fix small memory leak with string-type templates
This commit is contained in:
parent
573a2163dd
commit
9de5fb77eb
@ -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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user