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

Commit dec7b1e1 authored by wangmingming1's avatar wangmingming1
Browse files

binder: fix coverity warnings



Bug: None
Test: build

Change-Id: I7d56bb75c8fe6bb3206855c06959f81335971c4b
Signed-off-by: default avatarwangmingming1 <wangmingming1@xiaomi.com>
parent 0e8add7c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -492,6 +492,7 @@ bool ProcessState::isDriverFeatureEnabled(const DriverFeature feature) {
    if (read(fd, &on, sizeof(on)) == -1) {
        ALOGE("%s: error reading to %s: %s", __func__,
                 names[static_cast<int>(feature)], strerror(errno));
        close(fd);
        return false;
    }
    close(fd);