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

Commit d6595105 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

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

parents 31ea8632 b2f019ec
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: