]> Devoid-pointer.net GitWeb - KLGD.git/commitdiff
Do not free plugins as they might be allocated statically
authorMichal Malý <madcatxster@devoid-pointer.net>
Sun, 27 Jul 2014 15:53:04 +0000 (17:53 +0200)
committerMichal Malý <madcatxster@devoid-pointer.net>
Sun, 27 Jul 2014 15:53:04 +0000 (17:53 +0200)
klgd.c

diff --git a/klgd.c b/klgd.c
index f65791363b14b97f42308151337dced4122eda40..b5e56b9bf79836a863e3ca115665a702ab9b7e9b 100644 (file)
--- a/klgd.c
+++ b/klgd.c
@@ -121,7 +121,6 @@ void klgd_deinit(struct klgd_main *ctx)
 
                if (plugin->deinit)
                        plugin->deinit(plugin);
-               kfree(plugin);
        }
        kfree(priv->plugins);