Finish section writer before deleting it, needed for compressed sections

This commit is contained in:
baldurk
2017-12-20 17:16:19 +00:00
parent 6f0756c6dd
commit cb4fb770e9
+2
View File
@@ -655,6 +655,8 @@ void CaptureFile::WriteSection(const SectionProperties &props, const bytebuf &co
writer->Write(contents.data(), contents.size());
writer->Finish();
delete writer;
}