From 41520b0723def0f8346687e281b5f1e9fda02dd8 Mon Sep 17 00:00:00 2001 From: "qiuyiuestc@gmail.com" Date: Wed, 11 Jul 2012 00:08:41 +0000 Subject: [PATCH] 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 --- src/module.c | 1 - 1 file changed, 1 deletion(-) 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; }