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

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

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

* commit '96094ae2':
  ANW: fix my fix for a file descriptor leak
parents c4e8a69d 96094ae2
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;
        }
    }