aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/url.c')
-rw-r--r--lib/url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/url.c b/lib/url.c
index 2b2e98d70..50f83532e 100644
--- a/lib/url.c
+++ b/lib/url.c
@@ -2854,7 +2854,7 @@ CURLcode Curl_done(struct connectdata *conn)
if(conn->connect_addr)
Curl_resolv_unlock(conn->connect_addr); /* done with this */
-#ifdef MALLOCDEBUG
+#if defined(MALLOCDEBUG) && defined(AGGRESIVE_TEST)
/* scan for DNS cache entries still marked as in use */
Curl_hash_apply(data->hostcache,
NULL, Curl_scan_cache_used);