forked from nuttx/nuttx-update
mempool:fix bug when deinit mpool, wrong parameters used
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
parent
e6bf25a714
commit
a9fb366314
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue