mirror of
https://github.com/team-infusion-developers/android_hardware_samsung.git
synced 2024-11-06 21:55:41 +00:00
Fix build errors
This commit is contained in:
parent
db01d7418e
commit
48d3ff42e8
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ static int alloc_device_free(alloc_device_t* dev, buffer_handle_t handle)
|
|||
}
|
||||
|
||||
if (hnd->flags & private_handle_t::PRIV_FLAGS_USES_ION) {
|
||||
if (hnd->ion_memory > 0)
|
||||
if (hnd->ion_memory != NULL)
|
||||
munmap(hnd->ion_memory, hnd->size);
|
||||
ion_free(hnd->fd);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue