From 6e8020a4dbd070e7fb19f5753c8e8e9bb31665fa Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Mon, 15 Mar 2021 18:11:36 +0100 Subject: [PATCH] :art: Update Ogham --- plug | 2 +- src/parse/did_you_mean.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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); } -- 2.43.0