summaryrefslogtreecommitdiff
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 dc72e7425d..fb1e4006b2 100644
--- a/eval.c
+++ b/eval.c
@@ -2221,7 +2221,7 @@ copy_node_scope(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;\