On Jul 29, 2004, at 8:03 PM, Randy W. Sims wrote:

If the external library doesn't provide a function to free the memory, you'll need to use the C runtime free() call. Perl's memory allocation routines are not guaranteed to operate on the same memory pool, i.e. you could end up freeing memory from the wrong pool or worse, freeing memory from the wrong pool that is being used.



Aha, that makes good sense. In this case it's actually me who's writing/patching the C library, so of course I'll need to add the proper deallocation routines.


 -Ken



Reply via email to