commit | 4d0cd3f5241df28d8259c5ee7df33649c5c10f2d | [log] [tgz] |
---|---|---|
author | Taiju Tsuiki <tzik@google.com> | Thu Apr 30 22:15:33 2015 +0900 |
committer | Dan Stoza <stoza@google.com> | Thu Apr 30 14:50:17 2015 -0700 |
tree | 663fec1c88418b4669905a8a4ed9a56ae4425cd0 | |
parent | 84f1d9c288f35fa399f97207b6af43a261d5989a [diff] |
Close Fence FDs in error cases of Surface and GraphicBufferMapper Surface::{cancel,queue}Buffer and GraphicBufferMapper::lockAsyncYCbCr take the ownership of |fenceFd|s. Though they don't close it on error cases. Change-Id: I49a7ce8837d5c510c4ac4ad4649f310d18610e80 (cherry picked from commit c7263fb43297744eb04b11025424c0c526d5584c)