[mpp_buffer]: fix issue of destroy external commit frame buffer group twice

Change-Id: I496f493fbeb038ca72425d946c65a4e7cce6b684
Signed-off-by: herman.chen <herman.chen@rock-chips.com>
This commit is contained in:
herman.chen
2016-08-23 19:41:12 +08:00
parent 43bfdc6bdf
commit 4f8f63d16f
3 changed files with 13 additions and 7 deletions

View File

@@ -683,6 +683,7 @@ void MppBufferService::destroy_group(MppBufferGroupImpl *group)
mpp_assert(group->log_count == 0);
}
mpp_assert(group->allocator);
mpp_allocator_put(&group->allocator);
list_del_init(&group->list_group);
mpp_free(group);