diff --git a/src/core/modules-load.c b/src/core/modules-load.c index 7c6743fe..db554ef7 100644 --- a/src/core/modules-load.c +++ b/src/core/modules-load.c @@ -396,6 +396,7 @@ void module_unload(MODULE_REC *module) while (module->files != NULL) module_file_unload(module->files->data); + g_free(module->name); g_free(module); }