mirror of
https://github.com/facebook/zstd
synced 2026-08-22 22:32:07 -04:00
Fix FILE handle leak
This commit is contained in:
parent
f7ebbcd0cc
commit
2bbdc9f40e
1 changed files with 1 additions and 0 deletions
|
|
@ -715,6 +715,7 @@ static int benchMem(slice_collection_t dstBlocks,
|
|||
assert(csvFile);
|
||||
fprintf(csvFile, "%s\n", exeName);
|
||||
} else {
|
||||
free(csvFileName);
|
||||
csvFile = fopen(csvFileName, "at");
|
||||
assert(csvFile);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue