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 /plugins/mmnormalize/mmnormalize.c | |
parent | 81e9afee45c669a0d5a29757cae70e6e224541be (diff) | |
download | rsyslog-62a7ff8f59302464d56b44deb89604c672d96b45.tar.gz rsyslog-62a7ff8f59302464d56b44deb89604c672d96b45.tar.bz2 rsyslog-62a7ff8f59302464d56b44deb89604c672d96b45.zip |
bugfix: memory leak in mmnormalize
Diffstat (limited to 'plugins/mmnormalize/mmnormalize.c')
-rw-r--r-- | plugins/mmnormalize/mmnormalize.c | 1 |
1 files changed, 1 insertions, 0 deletions
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(); |