diff --git a/lib/hash.c b/lib/hash.c index 1910ac5dc4..aa9904e709 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -42,6 +42,8 @@ hash_element_dtor(void *user, void *element) { struct Curl_hash *h = (struct Curl_hash *) user; struct Curl_hash_element *e = (struct Curl_hash_element *) element; + DEBUGASSERT(h); + DEBUGASSERT(e); if(e->ptr) { if(e->dtor)