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

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

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

am: bfd8eafa

Change-Id: Iafdd03591b8322b03f302a8a969c7a32e0cbd7a7
parents 500ee29e bfd8eafa
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: