← Commit list

2c3200f578

Daniel Stenberg
Daniel Stenberg
2026-07-22
SUCCESS Duration: 191s

Subject

dnscache: avoid double unlock

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

lib/dnscache.c+0 -1
@@ -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));
}