]> Nishi Git Mirror - gwion.git/commitdiff
:art: free defer vector
authorJérémie Astor <fennecdjay@gmail.com>
Mon, 1 Feb 2021 01:16:55 +0000 (02:16 +0100)
committerJérémie Astor <fennecdjay@gmail.com>
Mon, 1 Feb 2021 01:16:55 +0000 (02:16 +0100)
src/emit/emit.c

index ca1eb23ed5869fef97e10f3bf361ac5646bfaa5d..c015c73f1a1b14277f5c416ba5eb0d5f1dd37d57 100644 (file)
@@ -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);
 }