in reply to Re^2: PerlXS typemap and reference counting
in thread PerlXS typemap and reference counting

Don't use malloc, use Newx , see perlclib
  • Comment on Re^3: PerlXS typemap and reference counting