diff options
author | Michael Biebl <biebl@debian.org> | 2013-07-23 01:01:14 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2013-07-23 01:01:14 +0200 |
commit | a400789c367fd3cd8d0f9588ca2af72dcac47c9c (patch) | |
tree | 8c1caa6308f9e720e1e461da321107e6dc29f256 /plugins/omelasticsearch/omelasticsearch.c | |
parent | f5638ea86a8626b7e0e471d720359cb4e3d8cb1c (diff) | |
download | rsyslog-a400789c367fd3cd8d0f9588ca2af72dcac47c9c.tar.gz |
Imported Upstream version 7.4.3upstream/7.4.3
Diffstat (limited to 'plugins/omelasticsearch/omelasticsearch.c')
-rw-r--r-- | plugins/omelasticsearch/omelasticsearch.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/omelasticsearch/omelasticsearch.c b/plugins/omelasticsearch/omelasticsearch.c index 57abefd..cb96fb6 100644 --- a/plugins/omelasticsearch/omelasticsearch.c +++ b/plugins/omelasticsearch/omelasticsearch.c @@ -487,8 +487,7 @@ writeDataError(instanceData *pData, cJSON **pReplyRoot, uchar *reqmsg) *pReplyRoot = NULL; /* tell caller not to delete once again! */ finalize_it: - if(rendered != NULL) - free(rendered); + free(rendered); RETiRet; } |