mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-18 15:53:32 +08:00
[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
This commit is contained in:
parent
c05d9dfee6
commit
6228ff5e98
@ -95,9 +95,9 @@ void rt_rbb_destroy(rt_rbb_t rbb)
|
||||
{
|
||||
RT_ASSERT(rbb);
|
||||
|
||||
rt_free(rbb);
|
||||
rt_free(rbb->buf);
|
||||
rt_free(rbb->blk_set);
|
||||
rt_free(rbb);
|
||||
|
||||
}
|
||||
RTM_EXPORT(rt_rbb_destroy);
|
||||
|
Loading…
x
Reference in New Issue
Block a user