| commit | 1cd3625e4501554868ce1152214461d30b4c736f | [log] [tgz] |
|---|---|---|
| author | Leon Scroggins III <scroggo@google.com> | Mon Feb 21 17:37:25 2022 -0500 |
| committer | Leon Scroggins <scroggo@google.com> | Wed Feb 23 15:02:22 2022 +0000 |
| tree | f0ea54dc2b68c25aad4b1c2004b602933a2aca92 | |
| parent | 1648aa42cf7c2dd127ca886e4916a4db1af240e9 [diff] |
Fix ref counting bug in AHardwareBuffer_recvHandleFromUnixSocket Follow-on from I443015d63245e49e8cf38847030c9da8142cbe50. If unflatten returns an error, this ensures that the GraphicBuffer is deleted. This matches similar code in this file. Bug: NA Test: make Test: AHardwareBufferTest_SendAndRecvSucceeds Change-Id: Ibcf21347625e3c9df127a0267aa05b046132e0a0