From: fennecdjay Date: Fri, 4 Oct 2019 13:33:35 +0000 (+0200) Subject: :art: Fix some alloc sizes X-Git-Tag: nightly~2198^2~139 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=caa6435658729703a4e5d0bb4c9e73e7bc27790a;p=gwion.git :art: Fix some alloc sizes --- 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