diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-12-22 23:31:02 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2013-05-26 00:18:23 -0700 |
commit | 060591571a005b56e3f64278ff29d2729088a9c2 (patch) | |
tree | 60d5f7b39ea51dfd699d900afe0e9b5b2fbb6055 /mro.c | |
parent | 2357bae7a0b405c6c8c0667303468707f4cd32f8 (diff) | |
download | perl-060591571a005b56e3f64278ff29d2729088a9c2.tar.gz |
Use SvREFCNT_dec_NN in one place in mro.c
Diffstat (limited to 'mro.c')
-rw-r--r-- | mro.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -131,7 +131,7 @@ Perl_mro_register(pTHX_ const struct mro_alg *mro) { if (!Perl_hv_common(aTHX_ PL_registered_mros, NULL, mro->name, mro->length, mro->kflags, HV_FETCH_ISSTORE, wrapper, mro->hash)) { - SvREFCNT_dec(wrapper); + SvREFCNT_dec_NN(wrapper); Perl_croak(aTHX_ "panic: hv_store() failed in mro_register() " "for '%.*s' %d", (int) mro->length, mro->name, mro->kflags); } |