in reply to PerlEmbed Memory leak
It would help if we could see a test case that exhibits the behavior. It should be possible to demonstrate leaky code in less than 50 lines of C, if you eliminate any code that is irrelevant to the problem.
Dave