SvREFCNT_dec(thr->errsv);
SvREFCNT_dec(thr->errhv);
+ /*Safefree(cxstack);*/
+ while (curstackinfo->si_next)
+ curstackinfo = curstackinfo->si_next;
+ while (curstackinfo) {
+ PERL_SI *p = curstackinfo->si_prev;
+ SvREFCNT_dec(curstackinfo->si_stack);
+ Safefree(curstackinfo->si_cxstack);
+ Safefree(curstackinfo);
+ curstackinfo = p;
+ }
Safefree(markstack);
Safefree(scopestack);
Safefree(savestack);
Safefree(retstack);
- Safefree(cxstack);
Safefree(tmps_stack);
Safefree(ofs);
Safefree(screamnext);
Safefree(reg_start_tmp);
SvREFCNT_dec(lastscream);
+ /*SvREFCNT_dec(defoutgv);*/
MUTEX_LOCK(&thr->mutex);
DEBUG_L(PerlIO_printf(PerlIO_stderr(),
curpm = t->Tcurpm; /* XXX No PMOP ref count */
nrs = newSVsv(t->Tnrs);
rs = SvREFCNT_inc(nrs);
- last_in_gv = (GV*)SvREFCNT_inc(t->Tlast_in_gv);
+ last_in_gv = Nullgv;
ofslen = t->Tofslen;
ofs = savepvn(t->Tofs, ofslen);
defoutgv = (GV*)SvREFCNT_inc(t->Tdefoutgv);