diff options
| author | [email protected] <[email protected]> | 2012-07-11 00:08:41 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-07-11 00:08:41 +0000 |
| commit | 41520b0723def0f8346687e281b5f1e9fda02dd8 (patch) | |
| tree | 36f5c86e678230031815ad1778599b84fd8a7d0b | |
| parent | 128a28324572c873d2eb6020dd540b903243fcda (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
| -rw-r--r-- | src/module.c | 1 |
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; } |
