From: Jérémie Astor Date: Mon, 15 Mar 2021 17:11:36 +0000 (+0100) Subject: :art: Update Ogham X-Git-Tag: nightly~837 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=6e8020a4dbd070e7fb19f5753c8e8e9bb31665fa;p=gwion.git :art: Update Ogham --- diff --git a/plug b/plug index 9f5713fe..2d8a4849 160000 --- a/plug +++ b/plug @@ -1 +1 @@ -Subproject commit 9f5713fe48cab9ce2656f562646d1a32b67882f9 +Subproject commit 2d8a48494371a6a11514647800225c531bff6b86 diff --git a/src/parse/did_you_mean.c b/src/parse/did_you_mean.c index f2e618dc..cef3f5c8 100644 --- a/src/parse/did_you_mean.c +++ b/src/parse/did_you_mean.c @@ -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); }