Merge "Fix memory leak in RenderThread::dumpGraphicsMemory."
This commit is contained in:
@ -236,10 +236,8 @@ void RenderThread::dumpGraphicsMemory(int fd) {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
FILE *file = fdopen(fd, "a");
|
dprintf(fd, "\n%s\n", cachesOutput.string());
|
||||||
fprintf(file, "\n%s\n", cachesOutput.string());
|
dprintf(fd, "\nPipeline=%s\n", pipeline.string());
|
||||||
fprintf(file, "\nPipeline=%s\n", pipeline.string());
|
|
||||||
fflush(file);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Readback& RenderThread::readback() {
|
Readback& RenderThread::readback() {
|
||||||
|
Reference in New Issue
Block a user