in reply to Re^2: perlembed: reference countsin thread perlembed: reference counts
I can't spot anything obvious.
Perl_newSVOP() takes a new reference to the passed-in SV but doesn't increment the ref count. Other places that remove this reference drop the ref count. Looks like an ordinary bug.
- tye