Skip to content

Commit

Permalink
tests: fix memory leak in test_table.c
Browse files Browse the repository at this point in the history
  • Loading branch information
alanxz committed Jun 7, 2015
1 parent 8d77b4c commit 426a3a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_tables.c
Original file line number Diff line number Diff line change
Expand Up @@ -475,8 +475,9 @@ int main(void)
die("output file did not have expected contents");
}

fclose(out);
fclose(expected);
free(expected_path);
fclose(out);

return 0;
}

0 comments on commit 426a3a7

Please sign in to comment.