From 2fdf0b6c35e5a53d6c9dcd02f55bf74004a30638 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Thu, 3 Dec 2020 06:59:06 +0100 Subject: [PATCH] typo --- src/plug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.43.0