diff --git a/eval.c b/eval.c index 1b62498f36..c588171b0a 100644 --- a/eval.c +++ b/eval.c @@ -950,8 +950,9 @@ rb_rescue2(VALUE (* b_proc) (VALUE), VALUE data1, { va_list ap; va_start(ap, data2); - return rb_vrescue2(b_proc, data1, r_proc, data2, ap); + VALUE ret = rb_vrescue2(b_proc, data1, r_proc, data2, ap); va_end(ap); + return ret; } /*!