[perl #78488] Bleadperl 304474c3 breaks GFUJI/Test-LeakTrace-0.13.tar.gz
authorFather Chrysostomos <sprout@cpan.org>
Fri, 22 Oct 2010 01:18:42 +0000 (18:18 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Fri, 22 Oct 2010 03:13:38 +0000 (20:13 -0700)
commitcefd5c7c8c45828fd7b3bcc2bfeaeb9773752a05
tree479e903901ef7e64da14b7d5e72f5264cd216789
parent158cfab664aa2a959a6c55c0d53a15678d5ffb0b
[perl #78488] Bleadperl 304474c3 breaks GFUJI/Test-LeakTrace-0.13.tar.gz

This commit restores an SvREFCNT_dec that was inadvertently removed.

c8bbf67 removed the SvREFCNT_dec(HeVAL(entry)), adding
SvREFCNT_dec(old_val) instead.

304474c3 reverted that block, but failed to restore the
SvREFCNT_dec(HeVAL(entry)).

The result was that the %INC entry created by do "file" was leaking.

(Y’know, giving out commit bits to just *anyone* who comes along
with a few patches seems dangerous. Has anybody been looking at what
I’m doing?)
hv.c