> -----Original Message-----
> From: Doug MacEachern [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 28, 2001 11:37 AM
> To: Geoffrey Young
> Cc: '[EMAIL PROTECTED]'
> Subject: RE: pushing method handlers by reference
>
>
> one problem, i think there's a leak here:
> + pclass = newSVpv(HvNAME(stash),0);
>
> since pclass was already set to newSVsv(sv) at the beginning.
> can you test changing to:
> sv_setpv(pclass, HvNAME(stash));
that works too :)
actually, I was basing what I wrote on the
pclass = newSVpv(imp, 0);
that occurs earlier, but I didn't see that you decremented pclass right
before the assignment...
makes sense now.
you want a new patch?
--Geoff
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]