Fixed bug in async_bench

This commit is contained in:
gabime 2018-10-05 14:52:38 +03:00
parent 1f4cae4bf7
commit 1808e3c4c8

View File

@ -35,6 +35,7 @@ int count_lines(const char *filename)
if ('\n' == ch) if ('\n' == ch)
counter++; counter++;
} }
fclose(infile);
return counter; return counter;
} }