From: Jérémie Astor Date: Mon, 1 Feb 2021 01:16:55 +0000 (+0100) Subject: :art: free defer vector X-Git-Tag: nightly~990 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=6e11a229bcd77df791e57bdb64efb6e4e9428ace;p=gwion.git :art: free defer vector --- 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); }