ModSecurity uses this Apr Memory Pool to handle the memory management, for further information:
Felipe "Zimmerle" Costa
Security Researcher, SpiderLabs
Trustwave | SMART SECURITY ON DEMAND
I ran into a problem when read modsecurity-2.7.7 source code£¬when http request came£¬modsecurity will executive function(create_tx_context()),In this fuction call
apr_allocator_create(&allocator)£¬but I cann't find any apr_allocator_free() fuction or apr_allocator_destroy() function to release allocator memory£¬The program
will not cause memory leaks?
if not£¬when does modsecurity release memory? I
can not sleep wellbecause of this puzzle problem£¡pls reply me£¡£¡
This transmission may contain information that is privileged, confidential, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information
contained herein (including any reliance thereon) is strictly prohibited. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format.