提交 5703f01e 编写于 作者: M mculover666

fix a pointer error in mmblk of kernel

上级 96f53f64
......@@ -41,7 +41,7 @@ __API__ k_err_t tos_mmblk_pool_create(k_mmblk_pool_t *mbp, void *pool_start, siz
blk_curr = blk_next;
blk_next = K_MMBLK_NEXT_BLK(blk_next, blk_size);
}
*(void **)blk_next = K_NULL;
*(void **)blk_curr = K_NULL;
mbp->pool_start = pool_start;
mbp->free_list = pool_start;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册