mirror of
https://github.com/nyanmisaka/mpp.git
synced 2025-12-26 11:17:44 +01:00
[android ion all]: fix allocator_ctx_ion no free when alloc close
git-svn-id: https://10.10.10.66:8443/svn/MediaProcessPlatform/trunk/mpp@522 6e48237b-75ef-9749-8fc9-41990f28c85a
This commit is contained in:
parent
46a3b365b3
commit
be686dfd38
1 changed files with 1 additions and 0 deletions
|
|
@ -284,6 +284,7 @@ MPP_RET os_allocator_ion_close(void *ctx)
|
|||
|
||||
p = (allocator_ctx_ion *)ctx;
|
||||
ret = close(p->ion_device);
|
||||
mpp_free(p);
|
||||
if (ret < 0)
|
||||
return (MPP_RET) - errno;
|
||||
return MPP_OK;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue