Commit c38b052
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
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.1 parent 9e152df commit c38b052
1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7120 | 7120 | | |
7121 | 7121 | | |
7122 | 7122 | | |
7123 | | - | |
| 7123 | + | |
| 7124 | + | |
| 7125 | + | |
| 7126 | + | |
| 7127 | + | |
| 7128 | + | |
| 7129 | + | |
7124 | 7130 | | |
7125 | 7131 | | |
7126 | 7132 | | |
7127 | 7133 | | |
7128 | | - | |
| 7134 | + | |
7129 | 7135 | | |
7130 | 7136 | | |
7131 | 7137 | | |
| |||
0 commit comments