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

Commit e8dcf868 authored by Zijun Zhao's avatar Zijun Zhao Committed by Automerger Merge Worker
Browse files

Merge "Fix -Wnullable-to-nonnull-conversion error" am: e2e9d546 am:...

Merge "Fix -Wnullable-to-nonnull-conversion error" am: e2e9d546 am: 84006802 am: 64e5cb39 am: cc9aa739

Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2595175



Change-Id: I4b7d83e41dfc1241801bdb35669d2dd993840a5a
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 6933a10d cc9aa739
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -78,7 +78,7 @@ MemoryHeapBase::MemoryHeapBase(size_t size, uint32_t flags, char const * name)
        if (SEAL_FLAGS && (fcntl(fd, F_ADD_SEALS, SEAL_FLAGS) == -1)) {
            ALOGE("MemoryHeapBase: MemFD %s sealing with flags %x failed with error  %s", name,
                  SEAL_FLAGS, strerror(errno));
            munmap(mBase, mSize);
            if (mNeedUnmap) munmap(mBase, mSize);
            mBase = nullptr;
            mSize = 0;
            close(fd);