diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-15 12:31:56 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2012-10-15 12:31:56 +0200 |
commit | 706ddb492345e53d36084d0b843f237da865c6d4 (patch) | |
tree | 5c21c06e0f4c0ce15fa2d8413c149d687be43e72 /template.c | |
parent | a3a3a322d8c7d40dfed0765457d26a484a624bce (diff) | |
parent | 2014cf85627b8774e8c36ddecad04f1ebf43020b (diff) | |
download | rsyslog-706ddb492345e53d36084d0b843f237da865c6d4.tar.gz rsyslog-706ddb492345e53d36084d0b843f237da865c6d4.tar.bz2 rsyslog-706ddb492345e53d36084d0b843f237da865c6d4.zip |
Merge branch 'master' into master-ratelimit
Conflicts:
ChangeLog
doc/v7compatibility.html
Diffstat (limited to 'template.c')
-rw-r--r-- | template.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -320,10 +320,6 @@ tplToJSON(struct template *pTpl, msg_t *pMsg, struct json_object **pjson) rsRetVal localRet; DEFiRet; - assert(pTpl != NULL); - assert(pMsg != NULL); - assert(json != NULL); - if(pTpl->subtree != NULL){ localRet = jsonFind(pMsg, pTpl->subtree, pjson); if(*pjson == NULL) { @@ -1847,6 +1843,7 @@ tplProcessCnf(struct cnfobj *o) pTpl->optFormatEscape = JSON_ESCAPE; finalize_it: + free(tplStr); if(pvals != NULL) cnfparamvalsDestruct(pvals, &pblk); if(iRet != RS_RET_OK) { |