remove debug-code which zero-filled some structures before free()ing them

This commit is contained in:
Yang Tse
2008-10-20 23:24:35 +00:00
parent 035a2e5479
commit 6bd91936ff
2 changed files with 0 additions and 4 deletions

View File

@@ -44,7 +44,6 @@ hash_element_dtor(void *user, void *element)
h->dtor(e->ptr);
memset(e, 0, sizeof(struct curl_hash_element));
free(e);
}
@@ -272,7 +271,6 @@ Curl_hash_destroy(struct curl_hash *h)
Curl_hash_clean(h);
memset(h, 0, sizeof(struct curl_hash));
free(h);
}