Skip to content

Commit 29c1be0

Browse files
authored
Merge pull request #10 from UnitTestBot/fix/177/unclosed-files
fix unclosed files
2 parents b1218dc + c85ee3b commit 29c1be0

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

lib/ADT/TestCase.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ TestCase* TC_fromFile(const char* path) {
4242
js.at("objects").at(i).at("offsets").at(j).at("offset");
4343
}
4444
}
45+
fclose(f);
4546
return ret;
4647
}
4748

0 commit comments

Comments
 (0)