mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-10-05 09:06:50 +08:00
[osal]: add clear operation to mpp_free
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@210 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
@@ -121,8 +121,7 @@ MPP_RET mpp_alloctor_put(MppAllocator *allocator)
|
||||
if (p->os_api.close)
|
||||
p->os_api.close(p->ctx);
|
||||
pthread_mutex_destroy(&p->lock);
|
||||
if (p)
|
||||
mpp_free(p);
|
||||
mpp_free(p);
|
||||
|
||||
return MPP_OK;
|
||||
}
|
||||
|
Reference in New Issue
Block a user