]> git.ipfire.org Git - thirdparty/curl.git/commit
hash: lazy-alloc the table in Curl_hash_add() 8132/head
authorDaniel Stenberg <daniel@haxx.se>
Fri, 10 Dec 2021 11:54:17 +0000 (12:54 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 Dec 2021 22:16:43 +0000 (23:16 +0100)
commit254f7bd78a1ab248329def2cbbbc983e7f6d2495
treed1fd479896f6c3a666befa9e57b71252a1d91248
parente43ad4b47442c99c95f76675a17e608610231871
hash: lazy-alloc the table in Curl_hash_add()

This makes Curl_hash_init() infallible which saves error paths.

Closes #8132
lib/conncache.c
lib/hash.c
lib/hash.h
lib/hostip.c
lib/hostip.h
lib/multi.c
lib/share.c
tests/unit/unit1305.c
tests/unit/unit1602.c
tests/unit/unit1603.c