From 4c2c2794ec7917fb2ca7ec5df8fa065d726edfc1 Mon Sep 17 00:00:00 2001 From: Aki Tuomi Date: Wed, 28 Aug 2013 22:23:45 +0300 Subject: [PATCH] Fix coverity CID 1066169 --- modules/remotebackend/httpconnector.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/remotebackend/httpconnector.cc b/modules/remotebackend/httpconnector.cc index fe6a4cda4..d1705ec15 100644 --- a/modules/remotebackend/httpconnector.cc +++ b/modules/remotebackend/httpconnector.cc @@ -151,7 +151,7 @@ void HTTPConnector::restful_requestbuilder(const std::string &method, const rapi curl_easy_setopt(d_c, CURLOPT_POSTFIELDSIZE, nsize); curl_easy_setopt(d_c, CURLOPT_COPYPOSTFIELDS, postfields); curl_free(tmpstr); - delete postfields; + delete [] postfields; } else if (method == "superMasterBackend") { std::stringstream ss2; addUrlComponent(parameters, "ip", ss); -- 2.49.0