aboutsummaryrefslogtreecommitdiffstats
path: root/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'eval.c')
-rw-r--r--eval.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eval.c b/eval.c
index 536e5abddc..284a27102c 100644
--- a/eval.c
+++ b/eval.c
@@ -2103,7 +2103,7 @@ copy_node_scope(NODE *node, NODE *rval)
if (argc > 0) {\
int i;\
n = anode;\
- argv = TMP_ALLOC(argc);\
+ argv = TMP_ALLOC(argc+extra);\
for (i=0;i<argc;i++) {\
argv[i] = rb_eval(self,n->nd_head);\
n=n->nd_next;\