Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1cd3625e authored by Leon Scroggins III's avatar Leon Scroggins III Committed by Leon Scroggins
Browse files

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
parent 1648aa42
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment