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

Commit 5767a723 authored by Andres Morales's avatar Andres Morales Committed by Android Git Automerger
Browse files

am beb4fa62: am b8fb72e0: am 0b0435ea: [gatekeeperd] fix file descriptor leak

* commit 'beb4fa62':
  [gatekeeperd] fix file descriptor leak
parents 879765d3 beb4fa62
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -112,6 +112,7 @@ public:
        int fd = open(filename, O_RDONLY);
        if (fd < 0) return 0;
        read(fd, &sid, sizeof(sid));
        close(fd);
        return sid;
    }