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

Commit d35aedc6 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

Change-Id: I0bf7988dd5d6640ebcd02ac10f13f29c00aaa376
parents 0a2148e3 5ae5b2c5
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: