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

Skip to content
Commit 4199198a authored by Yin-Chia Yeh's avatar Yin-Chia Yeh
Browse files

NDK: fix undefined behavior

Fix a problem where we unlock a mutex after it's freed.
Also freeing a locked mutex can lead to undefined behavior

Test: run all camera2 NDK CTS tests
Change-Id: Ib56e9c4908e9bfdc06a936a6b7cfd90fbc948006
parent 68f1d284
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment