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

Commit 49875383 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:...

Merge "liblog: don't bother keeping FD around once it's mapped." am: d6595105 am: 5ae5b2c5 am: d35aedc6
am: 4cc69d42

Change-Id: I2f6ebcc84a27b7dd0e6c5f2aa71c402788a42186
parents 633e1e16 4cc69d42
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: