From a388d609aefe894aea9499e959a4357944aabf85 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sun, 26 Dec 2021 23:50:48 +0900 Subject: variable.c: need to initialize `size` of iv table. --- src/variable.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3