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

Commit bc7448af authored by Narayan Kamath's avatar Narayan Kamath Committed by Android (Google) Code Review
Browse files

Merge "liblog: don't bother keeping FD around once it's mapped." into nyc-mr1-dev

parents 6c915528 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: