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

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

Merge "Fix memory leak in RenderThread::dumpGraphicsMemory."

parents 690f008e 1c300861
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -236,10 +236,8 @@ void RenderThread::dumpGraphicsMemory(int fd) {
            break;
    }

    FILE *file = fdopen(fd, "a");
    fprintf(file, "\n%s\n", cachesOutput.string());
    fprintf(file, "\nPipeline=%s\n", pipeline.string());
    fflush(file);
    dprintf(fd, "\n%s\n", cachesOutput.string());
    dprintf(fd, "\nPipeline=%s\n", pipeline.string());
}

Readback& RenderThread::readback() {