aboutsummaryrefslogtreecommitdiff
path: root/lib/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/hash.c')
-rw-r--r--lib/hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/hash.c b/lib/hash.c
index 6769faacf..619f2fb1b 100644
--- a/lib/hash.c
+++ b/lib/hash.c
@@ -164,7 +164,7 @@ Curl_hash_add(curl_hash *h, char *key, size_t key_len, void *p)
/* couldn't insert it, destroy the 'he' element again */
hash_element_dtor(h, he);
}
- h->dtor(p); /* remove the NEW entry */
+
return NULL; /* failure */
}