]> granicus.if.org Git - curl/commit
sockfilt.c: Reduce the number of individual memory allocations
authorMarc Hoersken <info@marc-hoersken.de>
Fri, 26 Dec 2014 09:41:40 +0000 (10:41 +0100)
committerMarc Hoersken <info@marc-hoersken.de>
Fri, 26 Dec 2014 09:41:40 +0000 (10:41 +0100)
commit7f99e12e9842c39fdc07063787258eab2d683a48
tree04b618454e6c9e63ab0533d64c0018d3189faf0f
parent62a018762e081a679534a19c3b41fcf597de64ec
sockfilt.c: Reduce the number of individual memory allocations

Merge multiple internal arrays into one, even if some variables
will not not be used. They are all created with the number of
file descriptors as their size.

Also fix possible thread handle leak in CloseHandle-loop.
tests/server/sockfilt.c