in reply to Re^4: Perl with Swig C module not releasing memory
in thread [Solved] Perl with Swig C module not releasing memory

You are correct XSUB.h in the CORE files is what's redefining free() to PerlMem_free and the memory isn't getting released.

Still trying to figure out how to keep that from happening.

see Re: Perl with Swig C module not releasing memory
  • Comment on Re^5: Perl with Swig C module not releasing memory