diff --git a/src/variable.c b/src/variable.c index 5c1682082..daee93655 100644 --- a/src/variable.c +++ b/src/variable.c @@ -29,6 +29,7 @@ iv_new(mrb_state *mrb) iv_tbl *t; t = (iv_tbl*)mrb_malloc(mrb, sizeof(iv_tbl)); + t->size = 0; t->alloc = 0; t->ptr = NULL;