mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
mempool:fix bug when deinit mpool, wrong parameters used
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
@@ -895,5 +895,5 @@ void mempool_multiple_deinit(FAR struct mempool_multiple_s *mpool)
|
||||
mempool_multiple_free_chunk(mpool, mpool->dict);
|
||||
mempool_multiple_free_chunk(mpool, mpool->pools);
|
||||
nxrmutex_destroy(&mpool->lock);
|
||||
mpool->free(mpool, mpool);
|
||||
mpool->free(mpool->arg, mpool);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user