This makes possible problems easier to reproduce.
dMY_CXT;
ptable_hints_free(MY_CXT.tbl);
+ MY_CXT.tbl = NULL;
ptable_seen_free(MY_CXT.seen);
+ MY_CXT.seen = NULL;
SvREFCNT_dec(MY_CXT.default_meth);
+ MY_CXT.default_meth = NULL;
}
STATIC int lt_endav_free(pTHX_ SV *sv, MAGIC *mg) {
dMY_CXT;
#if LT_THREADSAFE
ptable_hints_free(MY_CXT.tbl);
+ MY_CXT.tbl = NULL;
#endif
ptable_seen_free(MY_CXT.seen);
+ MY_CXT.seen = NULL;
SvREFCNT_dec(MY_CXT.default_meth);
+ MY_CXT.default_meth = NULL;
}
lt_ck_restore(OP_PADANY, <_old_ck_padany);