Proposed fix for -T -d:NYTProf regression. Probably this is a "missing"
Nicholas Clark [Sun, 30 Nov 2008 17:17:37 +0000 (17:17 +0000)]
part of change 24943.

p4raw-id: //depot/perl@34954

scope.c

diff --git a/scope.c b/scope.c
index 24c5111..c0a8ba7 100644 (file)
--- a/scope.c
+++ b/scope.c
@@ -698,6 +698,8 @@ Perl_leave_scope(pTHX_ I32 base)
     register char* str;
     I32 i;
 
+    TAINT_NOT;
+
     if (base < -1)
        Perl_croak(aTHX_ "panic: corrupt saved stack index");
     while (PL_savestack_ix > base) {