diff --git a/src/module.c b/src/module.c index 2f2076409f..59ec6b2af0 100644 --- a/src/module.c +++ b/src/module.c @@ -444,7 +444,6 @@ static struct rt_module* _load_shared_object(const char *name, void *module_ptr) if (unsolved) { rt_object_delete(&(module->parent)); - rt_free(module); return RT_NULL; }