You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sv_clear: with zero SvREFCNT, call sv_free2, not sv_free
Towards the bottom of `Perl_sv_clear`, there is a region described as
being `* unrolled SvREFCNT_dec and sv_free2 follows: */`. This was
introduced in 5239d5c
but the definitions of `Perl_sv_free`, `Perl_sv_free2`, and `SvREFCNT_dec`
were updated in 75a9bf9
and this region of code didn't get updated.
The unrolling remains valid, but the call to `sv_free(sv)` ultimately boils
down to a call to `sv_free2`, so this commit just goes there directly.
0 commit comments