Is there a reason why
_____________________________________
STATIC void
S_nuke_stacks(pTHX)
{
dVAR;
while (PL_curstackinfo->si_next)
PL_curstackinfo = PL_curstackinfo->si_next;
while (PL_curstackinfo) {
PERL_SI *p = PL_curstackinfo->si_prev;
/* curstackinfo->si_stack got nuked by sv_free_arenas() */
Safefree(PL_curstackinfo->si_cxstack);
Safefree(PL_curstackinfo);
PL_curstackinfo = p;
}
Safefree(PL_tmps_stack);
Safefree(PL_markstack);
Safefree(PL_scopestack);
#ifdef DEBUGGING
Safefree(PL_scopestack_name);
#endif
Safefree(PL_savestack);
}
________________________________
doesn't NULL out the pointers? because of PERL_POISON? Yet in
perl_destruct I often see a Safefree followed by a null assignment. What
is correct?
---
via perlbug: queue: perl5 status: new
https://rt.perl.org:443/rt3/Ticket/Display.html?id=114496
Thread Next