www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject Re: general/1776: memory leak in push_array (alloc.c)
Date Fri, 06 Feb 1998 19:32:22 GMT
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

Synopsis: memory leak in push_array (alloc.c)

State-Changed-From-To: open-closed
State-Changed-By: dgaudet
State-Changed-When: Fri Feb  6 11:32:22 PST 1998
You'll find there's no pfree() function... there's no way to
return memory to a pool, except for clear_pool() which frees all
memory (and other resources) in a pool.  This allows the allocator
to be fast/light weight.  It's normally not an issue, but modules
that need to do a lot of allocation/freeing should make_sub_pool()
and work in that.  There are examples in the standard modules.


View raw message