Browse Source

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
qiuyiuestc@gmail.com 13 years ago
parent
commit
41520b0723
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/module.c

+ 0 - 1
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;
 			}