plugin: remove linked-list items as we

This commit is contained in:
Daniel Eklöf 2019-01-12 21:13:50 +01:00
parent f7fd305821
commit aa6ea602ca

View file

@ -29,9 +29,8 @@ fini(void)
LOG_ERR("%s: dlclose(): %s", plug->item.name, dl_error); LOG_ERR("%s: dlclose(): %s", plug->item.name, dl_error);
free(plug->item.name); free(plug->item.name);
tll_remove(libs, plug);
} }
tll_free(libs);
} }
const struct module_info * const struct module_info *