summaryrefslogtreecommitdiff
path: root/libs/libcurl/src/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libcurl/src/hash.c')
-rw-r--r--libs/libcurl/src/hash.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/libcurl/src/hash.c b/libs/libcurl/src/hash.c
index 64810bd1df..b531085793 100644
--- a/libs/libcurl/src/hash.c
+++ b/libs/libcurl/src/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)