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:
qiuyiuestc@gmail.com 2012-07-11 00:08:41 +00:00
parent 128a283245
commit 41520b0723
1 changed files with 0 additions and 1 deletions

View File

@ -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;
}