second attempt to fix [perl #24914] freeing a CV reference that was
authorDave Mitchell <davem@fdisolutions.com>
Tue, 20 Jan 2004 00:16:42 +0000 (00:16 +0000)
committerDave Mitchell <davem@fdisolutions.com>
Tue, 20 Jan 2004 00:16:42 +0000 (00:16 +0000)
commitb36bdecab13f885c556206f71bfc47083b33107e
treecf1e451df96791b01c3da200598c5312387dbbcc
parent1bf2966364b6356e9050b17d8920dd4a8ce27d97
second attempt to fix [perl #24914] freeing a CV reference that was
currently being executed caused coredumps. The dounwind called by
die unwinds all the contexts on the context stack before unwinding
the save stack.  To stop premature freeing of the CV, hold
references to it on both stacks.

p4raw-id: //depot/perl@22182
cop.h
pp_ctl.c
pp_hot.c
pp_sort.c
t/op/closure.t