提交 aa1a7808 编写于 作者: qiuyiuestc's avatar qiuyiuestc

fix memory static problem

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1232 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 74bb7294
......@@ -839,7 +839,7 @@ void rt_free(void *ptr)
kup->size = 0;
#ifdef RT_MEM_STATS
used_mem -= size;
used_mem -= size * RT_MM_PAGE_SIZE;
#endif
rt_sem_release(&heap_sem);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册