projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61b476f
)
Use SvREFCNT_dec_NN in one place in hv.h
author
Father Chrysostomos
<sprout@cpan.org>
Thu, 13 Dec 2012 14:05:33 +0000
(06:05 -0800)
committer
Father Chrysostomos
<sprout@cpan.org>
Sat, 15 Dec 2012 14:57:44 +0000
(06:57 -0800)
In this instance, we know that av is not null, so no need to check
whether it is
hv.c
patch
|
blob
|
history
diff --git
a/hv.c
b/hv.c
index
e9e3b27
..
966a12f
100644
(file)
--- 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);
}
}