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

Commit 4713e06f authored by Ján Sebechlebský's avatar Ján Sebechlebský Committed by Android (Google) Code Review
Browse files

Merge "Fix double unlock in YCbCrLockGuard" into main

parents 5bbcd2c6 d38da174
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -65,7 +65,6 @@ YCbCrLockGuard::~YCbCrLockGuard() {
  if (gBuffer == nullptr) {
    return;
  }
  gBuffer->unlock();
  status_t status = gBuffer->unlock();
  if (status != NO_ERROR) {
    ALOGE("Failed to unlock graphic buffer: %s", statusToString(status).c_str());