diff --git a/src/common/layouts_mgr.c b/src/common/layouts_mgr.c index 5a5b2b260ddf6b6003f471643378192f79dda149..511636fac5c9fb63f01fec4f8ca1ec5da8ce0a35 100644 --- a/src/common/layouts_mgr.c +++ b/src/common/layouts_mgr.c @@ -145,10 +145,8 @@ static void _layout_plugins_destroy(layout_plugin_t *lp) { plugin_context_destroy(lp->context); /* it might be interesting to also dlclose the ops here */ - layout_free(lp->layout); xfree(lp->name); xfree(lp->ops); - xfree(lp->layout); } /* * layouts_keydef_t - entities similar keys share a same key definition