]> Nishi Git Mirror - gwion.git/commitdiff
:art: Fix tupleform
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 3 Apr 2020 14:35:32 +0000 (16:35 +0200)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 3 Apr 2020 14:35:32 +0000 (16:35 +0200)
src/env/type.c

index 0ed2818784a0280db300ef573d9901cd088c6027..0c67f6d2d24692f8fad2aa4d289203e5d75e4df9 100644 (file)
@@ -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);