cURL / Mailing Lists / curl-library / Single Mail

curl-library

Curl_hash_clean

From: Stefan Bühler <buehler_at_teamviewer.com>
Date: Fri, 10 Apr 2015 12:21:53 +0200

Hi,

https://github.com/bagder/curl/commit/81ee1e69fe9fd236e2cc6a9bb392a3ed51edc94a
replaced Curl_hash_clean_with_criterium(hash, NULL, free_all_entries)
with Curl_hash_clean(hash), but I don't think they are semantically equivalent:

Curl_hash_clean also frees h->table, which is only created by init.

-- 
Best regards,
Stefan Bühler
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2015-04-10