mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-30 22:50:23 +08:00
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)
|
if (unsolved)
|
||||||
{
|
{
|
||||||
rt_object_delete(&(module->parent));
|
rt_object_delete(&(module->parent));
|
||||||
rt_free(module);
|
|
||||||
|
|
||||||
return RT_NULL;
|
return RT_NULL;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user