]> Nishi Git Mirror - gwion.git/commitdiff
:art: Update Ogham
authorJérémie Astor <fennecdjay@gmail.com>
Mon, 15 Mar 2021 17:11:36 +0000 (18:11 +0100)
committerJérémie Astor <fennecdjay@gmail.com>
Mon, 15 Mar 2021 17:11:36 +0000 (18:11 +0100)
plug
src/parse/did_you_mean.c

diff --git a/plug b/plug
index 9f5713fe48cab9ce2656f562646d1a32b67882f9..2d8a48494371a6a11514647800225c531bff6b86 160000 (submodule)
--- a/plug
+++ b/plug
@@ -1 +1 @@
-Subproject commit 9f5713fe48cab9ce2656f562646d1a32b67882f9
+Subproject commit 2d8a48494371a6a11514647800225c531bff6b86
index f2e618dce361077d8862b39788bb0a7a0c644584..cef3f5c897c6b4e55cf9bc7f4ba76ce3c23e7101 100644 (file)
@@ -56,6 +56,7 @@ ANN void did_you_mean_nspc(Nspc nspc, const char* name) {
   vector_init(&v);
   do ressembles(&v, nspc, name);
   while((nspc = nspc->parent));
+  vector_release(&v);
 }
 
 #undef did_you_mean_type
@@ -66,4 +67,5 @@ ANN void did_you_mean_type(Type type, const char* name) {
   vector_init(&v);
   do ressembles(&v, t->nspc, name);
   while((t = t->info->parent) && t->nspc);
+  vector_release(&v);
 }