From: Adrian M. Enache Date: Mon, 10 Feb 2003 19:54:13 +0000 (+0000) Subject: Re: [perl #20777] [PATCH] goto &subroutine leaks memory X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=71fc2216c6a4911ddf91f3da00b2e64b1face896;p=p5sagit%2Fp5-mst-13.2.git Re: [perl #20777] [PATCH] goto &subroutine leaks memory Message-Id: <20030209201025.GA1247@ratsnest.hole> p4raw-id: //depot/perl@18688 --- diff --git a/pp_ctl.c b/pp_ctl.c index a08e2b6..73d1365 100644 --- a/pp_ctl.c +++ b/pp_ctl.c @@ -2102,6 +2102,7 @@ PP(pp_goto) } /* First do some returnish stuff. */ + FREETMPS; cxix = dopoptosub(cxstack_ix); if (cxix < 0) DIE(aTHX_ "Can't goto subroutine outside a subroutine");