summaryrefslogtreecommitdiffhomepage
path: root/src/variable.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/variable.c')
-rw-r--r--src/variable.c1
1 files changed, 1 insertions, 0 deletions
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;