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

Commit d4091b78 authored by Jamie Gennis's avatar Jamie Gennis Committed by Android Git Automerger
Browse files

am 160f0c9e: am 96094ae2: ANW: fix my fix for a file descriptor leak

* commit '160f0c9e':
  ANW: fix my fix for a file descriptor leak
parents 3834b83f 160f0c9e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -830,7 +830,7 @@ static inline int native_window_dequeue_buffer_and_wait(ANativeWindow *anw,
        err = sync_wait(fenceFd, UINT_MAX);
        close(fenceFd);
        if (err != 0) {
            anw->cancelBuffer(anw, *anb, fenceFd);
            anw->cancelBuffer(anw, *anb, -1);
            *anb = NULL;
        }
    }