diff options
author | thiagoftsm <thiagoftsm@gmail.com> | 2020-05-27 07:22:40 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-27 10:22:40 +0300 |
commit | 00f73c99e9244526b4d12b0fe85ecf855d34b261 (patch) | |
tree | 55aac782eb203280761dd824127e53e731fe5f8b /exporting | |
parent | 9426ade107c49080b50a265494f78eac85790a10 (diff) |
cov_358988: Remove coverity bug (#9180)
Diffstat (limited to 'exporting')
-rw-r--r-- | exporting/send_data.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/exporting/send_data.c b/exporting/send_data.c index f96c32bdee..f5fbc03401 100644 --- a/exporting/send_data.c +++ b/exporting/send_data.c @@ -387,7 +387,7 @@ void simple_connector_worker(void *instance_p) #endif #ifdef ENABLE_HTTPS - if (options & EXPORTING_OPTION_USE_TLS) { + if (instance->config.type == EXPORTING_CONNECTOR_TYPE_OPENTSDB_USING_HTTP && options & EXPORTING_OPTION_USE_TLS) { SSL_free(connector_specific_data->conn); freez(instance->connector_specific_data); } |