I was looking over mod_case_filter_in for some pointers on filter handling, and 
I noticed there was a memory leak in CaseFilterInFilter (line 149).
Since apr_bucket_heap_create doesn't specify a free function, 
apr_bucket_heap_make will allocate h->base, and copy the data (buf) there. 
The buf allocated through malloc (in CaseFilterInFilter) never gets freed, and 
will leak the amount of data read through ap_bucket_read on every request.
Since this is just an experimental module it's no big deal, but it probably 
pays to clean this up.
Aryeh
---
Aryeh Katz
VASCO                   
www.vasco.com           

Reply via email to