summaryrefslogtreecommitdiff
path: root/hv.c
diff options
context:
space:
mode:
authorVincent Pit <vince@profvince.com>2011-08-02 12:17:47 +0200
committerVincent Pit <vince@profvince.com>2011-08-02 12:17:47 +0200
commit9bfbb6810ea8d096601214bae98434cdc8d85ff8 (patch)
tree54050cb32d5597af2cc3f80c20c4d1ebe272f76e /hv.c
parent83b32788f4e2799bb5cea7654fbc616d32f09598 (diff)
downloadperl-9bfbb6810ea8d096601214bae98434cdc8d85ff8.tar.gz
SvREFCNT_dec already checks if the SV is non-NULL
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 f8f16b640a..d6ecfb4a1d 100644
--- a/hv.c
+++ b/hv.c
@@ -1813,7 +1813,7 @@ Perl_hv_undef_flags(pTHX_ HV *hv, U32 flags)
SvREFCNT_dec(meta->mro_linear_current);
meta->mro_linear_current = NULL;
}
- if(meta->mro_nextmethod) SvREFCNT_dec(meta->mro_nextmethod);
+ SvREFCNT_dec(meta->mro_nextmethod);
SvREFCNT_dec(meta->isa);
Safefree(meta);
aux->xhv_mro_meta = NULL;