Properly close file

This commit is contained in:
Adam Goldsmith 2016-04-27 16:15:02 -04:00
parent 2fc771d08e
commit acb6900502
1 changed files with 2 additions and 0 deletions

2
csim.c
View File

@ -113,6 +113,8 @@ int main(int argc, char* argv[])
}
printSummary(0, 0, 0);
fclose(f);
free_cache(cache, num_lines);
return 0;