From: Jérémie Astor Date: Thu, 3 Dec 2020 05:59:06 +0000 (+0100) Subject: typo X-Git-Tag: nightly~1136 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=2fdf0b6c35e5a53d6c9dcd02f55bf74004a30638;p=gwion.git typo --- diff --git a/src/plug.c b/src/plug.c index 32e6c112..ca461900 100644 --- a/src/plug.c +++ b/src/plug.c @@ -95,7 +95,7 @@ void free_plug(const struct Gwion_ *gwion) { for(m_uint i = 0; i < map_size(map); ++i) { const Plug plug = (Plug)VVAL(map, i); const modend end = DLSYM(plug->dl, modend, GWMODEND_NAME); - if(end && plg->self) + if(end && plug->self) end(gwion, plug->self); free((m_str)VKEY(map, i)); DLCLOSE(plug->dl);