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:35:29 +0200 |
commit | d5b9d43f6abfb8af1433062bb32953cb422ac380 (patch) | |
tree | 52819c5d5ccdf0cedfcbc990af2629b53bb8cd96 /template.c | |
parent | a38ccf789944a0ffcba23dff40e318ad6475e451 (diff) | |
download | rsyslog-d5b9d43f6abfb8af1433062bb32953cb422ac380.tar.gz rsyslog-d5b9d43f6abfb8af1433062bb32953cb422ac380.tar.xz rsyslog-d5b9d43f6abfb8af1433062bb32953cb422ac380.zip |
fix small memory leak with string-type templates
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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) { |