]> git.ipfire.org Git - thirdparty/curl.git/commit
multi: cleanup the socket hash when destroying it 8131/head
authorDaniel Stenberg <daniel@haxx.se>
Fri, 10 Dec 2021 11:46:16 +0000 (12:46 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 10 Dec 2021 16:02:04 +0000 (17:02 +0100)
commite43ad4b47442c99c95f76675a17e608610231871
tree1d006818f5437e5b23a76923d201a4e2c48b9d16
parent439aa502115e2129db71d0b2d5441eb3790e2cd3
multi: cleanup the socket hash when destroying it

Since each socket hash entry may themselves have a hash table in them,
the destroying of the socket hash needs to make sure all the subhashes
are also correctly destroyed to avoid leaking memory.

Fixes #8129
Closes #8131
lib/multi.c