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

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

Merge "liblog: fix a memory leak in __android_log_pmsg_file_write()"

parents 8eb237ad 106c3e61
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -285,6 +285,7 @@ LIBLOG_ABI_PRIVATE ssize_t __android_log_pmsg_file_write(
                __android_log_unlock();
            } else if (pmsgOpen() < 0) {
                __android_log_unlock();
                free(cp);
                return -EBADF;
            }
        }