Do you call malloc or free in a file that does #include perl.h? Perl redefines them.
Do you set the PV of a SV to the buffer? Then set the LEN to 0 to prevent Perl from freeing it.
In reply to Re: perl_destruct clearing memory allocated in c library
by ikegami
in thread perl_destruct clearing memory allocated in c library
by justin_skariah
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |