array.c: improve array_get_unused_element to check data type; fix mem leak if unused_element didn't find a matching entry (fixes #2145)
- the "mem leak" could only be triggered if you use different entry types in the same array (this wasn't supported by array_get_unused_element) or didn't call array_get_unused_element before creating new entries. git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-1.4.x@2750 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.27
parent
cf5fcf953d
commit
12f375f3b1
Loading…
Reference in New Issue