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

Commit 4cc69d42 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 am: 5ae5b2c5

am: d35aedc6

Change-Id: Ida6151e720e1834209ecb4ff57128db8292c8c4c
parents 71bfb2da d35aedc6
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: