Test: Flush output stream on string flush

This commit is contained in:
Vicki Pfau 2020-08-11 18:06:03 -07:00
parent daf2193894
commit 7cc0c6cc82
1 changed files with 1 additions and 0 deletions

View File

@ -226,6 +226,7 @@ void CIflush(struct StringBuilder* builder, FILE* out) {
builder->repeat = 0; builder->repeat = 0;
fputs(string, out); fputs(string, out);
free(string); free(string);
fflush(out);
} }
static bool parseCInemaArgs(int argc, char* const* argv) { static bool parseCInemaArgs(int argc, char* const* argv) {