mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-09 19:10:15 +08: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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user