Skip to content

Commit

Permalink
fixup! BufferedFile: fclose at destruction
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-jr committed Mar 14, 2024
1 parent 1b6d85f commit 3cc7f2f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/test/fuzz/buffered_file.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ FUZZ_TARGET(buffered_file)
}
opt_buffered_file->GetPos();
opt_buffered_file->GetVersion();
}
if (opt_buffered_file) {
opt_buffered_file->fclose();
opt_buffered_file.reset();
}
Expand Down

0 comments on commit 3cc7f2f

Please sign in to comment.