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

Commit ef47eb19 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am 30136150: Merge "adb: avoid leaking file descriptors"

* commit '30136150':
  adb: avoid leaking file descriptors
parents 8af98621 30136150
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -61,7 +61,7 @@ void framebuffer_service(int fd, void *cookie)
    int w, h, f;
    int fds[2];

    if (pipe(fds) < 0) goto pipefail;
    if (pipe2(fds, O_CLOEXEC) < 0) goto pipefail;

    pid_t pid = fork();
    if (pid < 0) goto done;