diff options
| author | Bond_009 <bond.009@outlook.com> | 2020-12-03 17:11:01 +0100 |
|---|---|---|
| committer | Bond_009 <bond.009@outlook.com> | 2020-12-03 17:11:01 +0100 |
| commit | 3da231113ccdd1b777028a4990dd035d07facdd5 (patch) | |
| tree | 1d40c291bfbb7ce493302b251c829777d69b2328 /3/part2.c | |
| parent | 1b5677661fd8bd513d6f81ba6e19e1a23498d3cf (diff) | |
fclose files
Diffstat (limited to '3/part2.c')
| -rw-r--r-- | 3/part2.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,6 +29,8 @@ int count_trees(int inc_right, int inc_down, const char * filename) pos = (pos + inc_right) % width; } + fclose(file); + return hit; } |
