char *tmp = proc_desc(a,b); sv_setpv(RETVAL, tmp, 0); free(tmp); [download]
In reply to Re: Perl, C and deallocation responsibility by etj in thread Perl, C and deallocation responsibility by SheWolf