summaryrefslogtreecommitdiff
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/eval.c b/eval.c
index 46245360c6..7a8d1d5ea9 100644
--- a/eval.c
+++ b/eval.c
@@ -1330,6 +1330,7 @@ ruby_cleanup(ex)
{
int state;
+ ruby_safe_level = 0;
PUSH_TAG(PROT_NONE);
PUSH_ITER(ITER_NOT);
if ((state = EXEC_TAG()) == 0) {