4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-30 02:40:24 +08:00

Merge pull request #3279 from armink/fix_rbb

[DeviceDriver][IPC] Fix rbb free bug in rt_rbb_destroy.
This commit is contained in:
Bernard Xiong 2019-12-19 14:59:29 +08:00 committed by GitHub
commit 9111aca176
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);