Destruct writer before closing files so writer can flush buffers
This commit is contained in:
parent
4bf5cea15b
commit
1f74901943
@ -110,9 +110,9 @@ int main(const int argc, const char* argv[])
|
||||
{
|
||||
assert(false);
|
||||
}
|
||||
IDemoWriter::FreeDemoWriter(writer);
|
||||
|
||||
fclose(inputFp);
|
||||
fclose(outputFp);
|
||||
|
||||
IDemoWriter::FreeDemoWriter(writer);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user