diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2013-07-02 11:48:52 +0200 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-07-02 11:48:52 +0200 |
commit | 80f88242982c9c6ad6ce8628fc5b94ea74051cf4 (patch) | |
tree | cebbe797aa98b23fb55d256b791befa959df874b /plugins/omelasticsearch/omelasticsearch.c | |
parent | 50fc430ccd4305645007327c31026fb4e12fc6f5 (diff) | |
download | rsyslog-80f88242982c9c6ad6ce8628fc5b94ea74051cf4.tar.gz rsyslog-80f88242982c9c6ad6ce8628fc5b94ea74051cf4.tar.bz2 rsyslog-80f88242982c9c6ad6ce8628fc5b94ea74051cf4.zip |
bugfix: double-free in omelasticsearch
closes: http://bugzilla.adiscon.com/show_bug.cgi?id=461
Thanks to Marius Ionescu for providing a detailled bug report
Diffstat (limited to 'plugins/omelasticsearch/omelasticsearch.c')
-rw-r--r-- | plugins/omelasticsearch/omelasticsearch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugins/omelasticsearch/omelasticsearch.c b/plugins/omelasticsearch/omelasticsearch.c index 33e58c1a..57abefdd 100644 --- a/plugins/omelasticsearch/omelasticsearch.c +++ b/plugins/omelasticsearch/omelasticsearch.c @@ -483,7 +483,6 @@ writeDataError(instanceData *pData, cJSON **pReplyRoot, uchar *reqmsg) DBGPRINTF("omelasticsearch: error %d writing error file, write returns %lld\n", errno, (long long) wrRet); } - free(rendered); cJSON_Delete(errRoot); *pReplyRoot = NULL; /* tell caller not to delete once again! */ |