mirror of
https://github.com/curl/curl.git
synced 2026-07-26 16:07:21 +03:00
dnscache: avoid double unlock
Follow-up to 7ad33fe56f
Pointed out by Zeropath
Closes #22364
This commit is contained in:
parent
41b4a91123
commit
2c3200f578
1 changed files with 0 additions and 1 deletions
|
|
@ -721,7 +721,6 @@ CURLcode Curl_dnscache_add_negative(struct Curl_easy *data,
|
|||
/* release the returned reference; the cache itself will keep the
|
||||
* entry alive: */
|
||||
dns->refcount--;
|
||||
dnscache_unlock(data, dnscache);
|
||||
CURL_TRC_DNS(data, "cache negative name resolve for %s:%d type=%s",
|
||||
host, port, Curl_resolv_query_str(dns_queries));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue