diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-12-13 06:05:33 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-12-15 06:57:44 -0800 |
commit | 0c920c9bc74af369abd5550b9fe712ddf7730dd8 (patch) | |
tree | 1bdd83cd28c1224af03af5a95ca27d1ea8a7a530 /hv.c | |
parent | 61b476f9dd684b77a1ad94b80ca3acded978f7bd (diff) | |
download | perl-0c920c9bc74af369abd5550b9fe712ddf7730dd8.tar.gz |
Use SvREFCNT_dec_NN in one place in hv.h
In this instance, we know that av is not null, so no need to check
whether it is
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2213,7 +2213,7 @@ Perl_hv_kill_backrefs(pTHX_ HV *hv) { HvAUX(hv)->xhv_backreferences = 0; Perl_sv_kill_backrefs(aTHX_ MUTABLE_SV(hv), av); if (SvTYPE(av) == SVt_PVAV) - SvREFCNT_dec(av); + SvREFCNT_dec_NN(av); } } |