From: Jérémie Astor Date: Fri, 3 Apr 2020 14:35:32 +0000 (+0200) Subject: :art: Fix tupleform X-Git-Tag: nightly~1714 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=d859ed1a60fe1db621949eef605885e2c051c718;p=gwion.git :art: Fix tupleform --- diff --git a/src/env/type.c b/src/env/type.c index 0ed28187..0c67f6d2 100644 --- a/src/env/type.c +++ b/src/env/type.c @@ -33,7 +33,7 @@ ANN static void free_type(Type a, Gwion gwion) { if(a->nspc) REM_REF(a->nspc, gwion); if(a->e->tuple) - free_tupleform(gwion->mp, a->e->tuple); + free_tupleform(a->e->tuple); if(a->e->contains.ptr) { for(m_uint i = 0; i < vector_size(&a->e->contains); ++i) REM_REF((Type)vector_at(&a->e->contains, i), gwion);