From 759f45a28bf1903bf7d33626d9085cd369268e80 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Fri, 4 Oct 2019 12:54:34 +0200 Subject: [PATCH] :shirt: Ensure free_plug even if no mem cleaning --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.c b/src/main.c index 30169172..6331d3e5 100644 --- a/src/main.c +++ b/src/main.c @@ -27,6 +27,8 @@ int main(int argc, char** argv) { gwion_run(&gwion); #ifndef NDEBUG gwion_end(&gwion); +#else + free_plug(&gwion); #endif THREAD_RETURN(EXIT_SUCCESS); } -- 2.43.0