]> Nishi Git Mirror - gwion.git/commitdiff
typo
authorJérémie Astor <fennecdjay@gmail.com>
Thu, 3 Dec 2020 05:59:06 +0000 (06:59 +0100)
committerJérémie Astor <fennecdjay@gmail.com>
Thu, 3 Dec 2020 05:59:06 +0000 (06:59 +0100)
src/plug.c

index 32e6c1129c3c8cb623c50ffde923517a39d97b7b..ca4619004fb17d6146c3c69209548a21fca28827 100644 (file)
@@ -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);