in reply to Re: perlembed: reference counts
in thread perlembed: reference counts

The question is, of course, why.
I am looking for documentation, comment or even a pointer to the source code will be enough.
(I looked for that function in the source code, and for some reason could not find it...)

Replies are listed 'Best First'.
Re^3: perlembed: reference counts
by Joost (Canon) on Sep 20, 2007 at 19:13 UTC

      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