From: Michal MalĂ˝ Date: Sun, 27 Jul 2014 15:53:04 +0000 (+0200) Subject: Do not free plugins as they might be allocated statically X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=108bbd2e4c2ca7c780de6f1ce7bf38478d528b5f;p=KLGD.git Do not free plugins as they might be allocated statically --- diff --git a/klgd.c b/klgd.c index f657913..b5e56b9 100644 --- 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);