diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-11 09:35:29 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-11 09:37:34 +0200 |
commit | 9de5fb77ebc219c0633c6204addaa6997a1da9d2 (patch) | |
tree | e82c0b71f80ab07367a9286d9402cc88c9255673 | |
parent | 573a2163dd7314922760f2d9140dfb0b083909d9 (diff) | |
download | rsyslog-9de5fb77ebc219c0633c6204addaa6997a1da9d2.tar.gz rsyslog-9de5fb77ebc219c0633c6204addaa6997a1da9d2.tar.xz rsyslog-9de5fb77ebc219c0633c6204addaa6997a1da9d2.zip |
fix small memory leak with string-type templates
-rw-r--r-- | template.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |