summaryrefslogtreecommitdiff
path: root/pp_sort.c
diff options
context:
space:
mode:
authorSteve Peters <steve@fisharerojo.org>2005-12-15 02:00:19 +0000
committerSteve Peters <steve@fisharerojo.org>2005-12-15 02:00:19 +0000
commitf7ae8051c95a2bdf42aad8ef8cbdb82f5608126f (patch)
tree5ea6f9cf0c99e283f8082fd83edb61d52e464774 /pp_sort.c
parent0613d57299404732f5bbc0d12e693d4815e8cba8 (diff)
downloadperl-f7ae8051c95a2bdf42aad8ef8cbdb82f5608126f.tar.gz
Add a missing FREETMPS to match up with a SAVETMPS. This change
fixes problems with nested sorts. (RTs #7063 and #36430). p4raw-id: //depot/perl@26360
Diffstat (limited to 'pp_sort.c')
-rw-r--r--pp_sort.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pp_sort.c b/pp_sort.c
index 7c8ab2fa7f..adb0b1c3b1 100644
--- a/pp_sort.c
+++ b/pp_sort.c
@@ -1686,6 +1686,7 @@ PP(pp_sort)
PL_stack_sp = newsp;
POPSTACK;
CATCH_SET(oldcatch);
+ SAVETMPS;
}
else {
MEXTEND(SP, 20); /* Can't afford stack realloc on signal. */