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

Commit 5ae5b2c5 authored by Narayan Kamath's avatar Narayan Kamath Committed by android-build-merger
Browse files

Merge "liblog: don't bother keeping FD around once it's mapped."

am: d6595105

Change-Id: Iec9b0a52e0b2dd3f8d6dee30cef66f15f227bb66
parents 72887a3f d6595105
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -99,6 +99,9 @@ LIBLOG_ABI_PUBLIC EventTagMap* android_openEventTagMap(const char* fileName)
    if (processFile(newTagMap) != 0)
        goto fail;

    if (fd >= 0)
      close(fd);

    return newTagMap;

fail: