diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-10 14:09:01 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-10-10 14:09:01 +0200 |
commit | 62a7ff8f59302464d56b44deb89604c672d96b45 (patch) | |
tree | bdb89494cd8c620dbd93e2da81284401f8884352 | |
parent | 81e9afee45c669a0d5a29757cae70e6e224541be (diff) | |
download | rsyslog-62a7ff8f59302464d56b44deb89604c672d96b45.tar.gz rsyslog-62a7ff8f59302464d56b44deb89604c672d96b45.tar.bz2 rsyslog-62a7ff8f59302464d56b44deb89604c672d96b45.zip |
bugfix: memory leak in mmnormalize
-rw-r--r-- | ChangeLog | 1 | ||||
-rw-r--r-- | plugins/mmnormalize/mmnormalize.c | 1 |
2 files changed, 2 insertions, 0 deletions
@@ -10,6 +10,7 @@ Version 7.4.5 [v7.4-stable] 2013-09-?? Thanks to Muri Cicanor for initiating the discussion - now requires libestr 0.1.7 as early versions had a nasty bug in string comparisons +- bugfix: memory leak in mmnormalize - bugfix: array-based ==/!= comparisions lead to invalid results This was a regression introduced in 7.3.5 bei the PRI optimizer - bugfix: omprog blocked signals to executed programs diff --git a/plugins/mmnormalize/mmnormalize.c b/plugins/mmnormalize/mmnormalize.c index f93974a1..7e25824a 100644 --- a/plugins/mmnormalize/mmnormalize.c +++ b/plugins/mmnormalize/mmnormalize.c @@ -227,6 +227,7 @@ CODESTARTdoAction /* TODO: this is all extremly ineffcient! */ ee_fmtEventToJSON(event, &str); cstrJSON = es_str2cstr(str, NULL); + ee_deleteEvent(event); dbgprintf("mmnormalize generated: %s\n", cstrJSON); tokener = json_tokener_new(); |