summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-07-11 00:08:41 +0000
committer[email protected] <[email protected]>2012-07-11 00:08:41 +0000
commit41520b0723def0f8346687e281b5f1e9fda02dd8 (patch)
tree36f5c86e678230031815ad1778599b84fd8a7d0b /src
parent128a28324572c873d2eb6020dd540b903243fcda (diff)
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
Diffstat (limited to 'src')
-rw-r--r--src/module.c1
1 files changed, 0 insertions, 1 deletions
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;
}