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?)
}
HeVAL(entry) = val;
} else if (action & HV_FETCH_ISSTORE) {
+ SvREFCNT_dec(HeVAL(entry));
HeVAL(entry) = val;
}
} else if (HeVAL(entry) == &PL_sv_placeholder) {