On Thu, 14 Jun 2001, Sander Striker wrote: > This patch implements getting memory from the parent if > the preallocated block is exhausted. There is one catch: > memory freed with apr_sms_free is recycled as if it were > a block of the given fixed size (passed in at create). > To actually free this 'external' memory, use reset (or > destroy, but that is a given).
I'll look at this more closely later today, but just a quick thought: all that _free(sms,mem) would have to do to handle the external blocks is check to see if mem is between the start and end of the original block; if so, add it back to the free_list, if not, call _free(parent,mem). --Cliff -------------------------------------------------------------- Cliff Woolley [EMAIL PROTECTED] Charlottesville, VA
