mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[mpp_mem_pool]: Fix put_pool err
Signed-off-by: Yandong Lin <yandong.lin@rock-chips.com> Change-Id: I3a36d5c709cd37b13d8b587074f1ab500e9c8017
This commit is contained in:
parent
14f93e251b
commit
60ffcb9375
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ void MppMemPoolService::put_pool(MppMemPoolImpl *impl)
|
|||
impl->used_count, impl->size);
|
||||
|
||||
list_for_each_entry_safe(node, m, &impl->used, MppMemPoolNode, list) {
|
||||
MPP_FREE(impl);
|
||||
MPP_FREE(node);
|
||||
impl->used_count--;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue