summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorDave Mitchell <davem@fdisolutions.com>2004-03-04 23:32:38 +0000
committerDave Mitchell <davem@fdisolutions.com>2004-03-04 23:32:38 +0000
commit936c78b5fbfb4bf020fdea54970ee48649babcc3 (patch)
tree46a57f731ab8c3b39318da3028ea2df820eacbd2 /pp_ctl.c
parent4ccc72b7cccd09b4aef23610849d9be0320655b6 (diff)
downloadperl-936c78b5fbfb4bf020fdea54970ee48649babcc3.tar.gz
[perl #27206] Memory leak in continue loop
make sure redo always frees temps p4raw-id: //depot/perl@22438
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index 3c632e2f5c..d426005692 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2115,6 +2115,7 @@ PP(pp_redo)
TOPBLOCK(cx);
oldsave = PL_scopestack[PL_scopestack_ix - 1];
LEAVE_SCOPE(oldsave);
+ FREETMPS;
return cx->blk_loop.redo_op;
}