fix : code patch

1. fixed code about delete char*
2. free curl_slist
3. added lock for EndpointProvider::LoadLocalEndpoints()
This commit is contained in:
wb-hx510875
2020-04-28 15:51:36 +08:00
committed by Axios
parent a51834c8d0
commit f16150baca
3 changed files with 18 additions and 1 deletions

View File

@@ -221,6 +221,7 @@ CurlHttpClient::makeRequest(const HttpRequest &request) {
HttpMethodToString(request.method()) + " " + request.url().toString()));
}
}
curl_slist_free_all(list);
}
} // namespace AlibabaCloud