From caa6435658729703a4e5d0bb4c9e73e7bc27790a Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 4 Oct 2019 15:33:35 +0200 Subject: [PATCH] :art: Fix some alloc sizes --- src/gwion.c | 2 +- util | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gwion.c b/src/gwion.c index df91d0af..6317124f 100644 --- a/src/gwion.c +++ b/src/gwion.c @@ -73,7 +73,7 @@ ANN m_bool gwion_ini(const Gwion gwion, Arg* arg) { gwion->env->gwion = gwion; gwion->vm->bbq->si = new_soundinfo(gwion->mp); gwion->data = new_gwiondata(gwion->mp); - gwion->type = (Type*)xmalloc(MAX_TYPE * sizeof(struct Type_)); + gwion->type = (Type*)xmalloc(MAX_TYPE * sizeof(struct Type_*)); pass_default(gwion); arg->si = gwion->vm->bbq->si; const m_bool ret = arg_parse(gwion, arg); diff --git a/util b/util index dee77e5c..5c47c481 160000 --- a/util +++ b/util @@ -1 +1 @@ -Subproject commit dee77e5c3be6b2bcecd77929a21b5057ac5af5ce +Subproject commit 5c47c481a3c808f29b7bd70b710acc8972bde77b -- 2.43.0