From 6e11a229bcd77df791e57bdb64efb6e4e9428ace Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 1 Feb 2021 02:16:55 +0100 Subject: [PATCH] :art: free defer vector --- src/emit/emit.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/emit/emit.c b/src/emit/emit.c index ca1eb23e..c015c73f 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -56,6 +56,7 @@ ANN static void free_frame(MemPool p, Frame* a) { if(vector_at(&a->stack, i - 1)) mp_free(p, Local, (Local*)vector_at(&a->stack, i - 1)); vector_release(&a->stack); + vector_release(&a->defer); mp_free(p, Frame, a); } -- 2.43.0