mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[mpp_buffer]: add more log check
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@1058 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
parent
e05f63378b
commit
bf591fc7cd
1 changed files with 2 additions and 0 deletions
|
|
@ -671,7 +671,9 @@ void MppBufferService::destroy_group(MppBufferGroupImpl *group)
|
|||
struct list_head *tmp = logs->next;
|
||||
list_del_init(tmp);
|
||||
mpp_free(list_entry(tmp, MppBufLog, list));
|
||||
group->log_count--;
|
||||
}
|
||||
mpp_assert(group->log_count == 0;
|
||||
}
|
||||
|
||||
mpp_allocator_put(&group->allocator);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue