Fixed bug in async_bench

This commit is contained in:
gabime 2018-10-05 14:52:38 +03:00
parent 1f4cae4bf7
commit 1808e3c4c8
1 changed files with 1 additions and 0 deletions

View File

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