diff options
author | Vincent Pit <vince@profvince.com> | 2011-08-02 12:17:47 +0200 |
---|---|---|
committer | Vincent Pit <vince@profvince.com> | 2011-08-02 12:17:47 +0200 |
commit | 9bfbb6810ea8d096601214bae98434cdc8d85ff8 (patch) | |
tree | 54050cb32d5597af2cc3f80c20c4d1ebe272f76e /hv.c | |
parent | 83b32788f4e2799bb5cea7654fbc616d32f09598 (diff) | |
download | perl-9bfbb6810ea8d096601214bae98434cdc8d85ff8.tar.gz |
SvREFCNT_dec already checks if the SV is non-NULL
Diffstat (limited to 'hv.c')
-rw-r--r-- | hv.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |