summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-12-13 06:05:33 -0800
committerFather Chrysostomos <sprout@cpan.org>2012-12-15 06:57:44 -0800
commit0c920c9bc74af369abd5550b9fe712ddf7730dd8 (patch)
tree1bdd83cd28c1224af03af5a95ca27d1ea8a7a530 /hv.c
parent61b476f9dd684b77a1ad94b80ca3acded978f7bd (diff)
downloadperl-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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hv.c b/hv.c
index e9e3b276e8..966a12f58e 100644
--- a/hv.c
+++ b/hv.c
@@ -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);
}
}