OSDN Git Service
(root)
/
android-x86
/
external-IA-Hardware-Composer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ensure we close all the gem handles.
[android-x86/external-IA-Hardware-Composer.git]
/
os
/
android
/
gralloc1bufferhandler.cpp
diff --git
a/os/android/gralloc1bufferhandler.cpp
b/os/android/gralloc1bufferhandler.cpp
index
f5ec05a
..
7d7576a
100644
(file)
--- a/
os/android/gralloc1bufferhandler.cpp
+++ b/
os/android/gralloc1bufferhandler.cpp
@@
-83,7
+83,7
@@
bool Gralloc1BufferHandler::CreateBuffer(uint32_t w, uint32_t h, int format,
}
bool Gralloc1BufferHandler::ReleaseBuffer(HWCNativeHandle handle) {
- if (!ReleaseGraphicsBuffer(handle))
+ if (!ReleaseGraphicsBuffer(handle
, fd_
))
return false;
gralloc1_device_t *gralloc1_dvc =