Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: c38b0528658b064c1dfaac6ae7abf1445dc71302
      
https://github.com/Perl/perl5/commit/c38b0528658b064c1dfaac6ae7abf1445dc71302
  Author: Richard Leach <richardle...@users.noreply.github.com>
  Date:   2024-12-12 (Thu, 12 Dec 2024)

  Changed paths:
    M sv.c

  Log Message:
  -----------
  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 
https://github.com/Perl/perl5/commit/5239d5c4bfde4ec02e1787e9dc9ada189ad868e5
but the definitions of `Perl_sv_free`, `Perl_sv_free2`, and `SvREFCNT_dec`
were updated in 
https://github.com/Perl/perl5/commit/75a9bf9690b77515a287eb483ea2709b73810c41
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.



To unsubscribe from these emails, change your notification settings at 
https://github.com/Perl/perl5/settings/notifications

Reply via email to