mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Merge "Camera: Fix ION buffer leaks"
This commit is contained in:
@@ -194,9 +194,9 @@ private:
|
||||
mRelease(mDevice, handle);
|
||||
} else {
|
||||
mModule->unregisterBuffer(mModule, handle);
|
||||
native_handle_close(handle);
|
||||
native_handle_delete(const_cast<native_handle_t*>(handle));
|
||||
}
|
||||
native_handle_close(handle);
|
||||
native_handle_delete(const_cast<native_handle_t*>(handle));
|
||||
}
|
||||
|
||||
// gralloc1
|
||||
|
||||
Reference in New Issue
Block a user