Commit 1808e3c4 authored by gabime's avatar gabime

Fixed bug in async_bench

parent 1f4cae4b
...@@ -35,6 +35,7 @@ int count_lines(const char *filename) ...@@ -35,6 +35,7 @@ int count_lines(const char *filename)
if ('\n' == ch) if ('\n' == ch)
counter++; counter++;
} }
fclose(infile);
return counter; return counter;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment