diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/other_tools/utils/curl_url_handle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/other_tools/utils/curl_url_handle.cpp b/src/other_tools/utils/curl_url_handle.cpp index 8895bf84..95f04da1 100644 --- a/src/other_tools/utils/curl_url_handle.cpp +++ b/src/other_tools/utils/curl_url_handle.cpp @@ -756,6 +756,7 @@ auto CurlURLHandle::NoproxyStringMatches(std::string const& no_proxy) noexcept if (url_port != nullptr) { tmp_pattern += ":"; tmp_pattern += std::string(url_port); + curl_free(url_port); } auto url_hostport_as_pattern = ParseNoproxyPattern(tmp_pattern); |