From: fennecdjay Date: Fri, 4 Oct 2019 10:54:34 +0000 (+0200) Subject: :shirt: Ensure free_plug even if no mem cleaning X-Git-Tag: nightly~2198^2~160 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=759f45a28bf1903bf7d33626d9085cd369268e80;p=gwion.git :shirt: Ensure free_plug even if no mem cleaning --- 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); }