未验证 提交 9111aca1 编写于 作者: B Bernard Xiong 提交者: GitHub

Merge pull request #3279 from armink/fix_rbb

[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
...@@ -95,9 +95,9 @@ void rt_rbb_destroy(rt_rbb_t rbb) ...@@ -95,9 +95,9 @@ void rt_rbb_destroy(rt_rbb_t rbb)
{ {
RT_ASSERT(rbb); RT_ASSERT(rbb);
rt_free(rbb);
rt_free(rbb->buf); rt_free(rbb->buf);
rt_free(rbb->blk_set); rt_free(rbb->blk_set);
rt_free(rbb);
} }
RTM_EXPORT(rt_rbb_destroy); RTM_EXPORT(rt_rbb_destroy);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册