Commit 4bc1619
committed
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
originally accurate when 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 to match.
I'm unsure of how to best refactor this code region, but right now
the call to `sv_free(sv)` ultimately boils down to a call to `sv_free2`,
so this commit just goes there directly.1 parent 00f06a3 commit 4bc1619
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7125 | 7125 | | |
7126 | 7126 | | |
7127 | 7127 | | |
7128 | | - | |
| 7128 | + | |
7129 | 7129 | | |
7130 | 7130 | | |
7131 | 7131 | | |
| |||
0 commit comments