fix module delete fail problem when met undefined symbols.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2216 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
128a283245
commit
41520b0723
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue