diff options
author | Alan Antonuk <alan.antonuk@gmail.com> | 2015-06-07 00:23:11 -0700 |
---|---|---|
committer | Alan Antonuk <alan.antonuk@gmail.com> | 2015-06-07 00:23:11 -0700 |
commit | 426a3a78325927145c602e8462a7cb489db02327 (patch) | |
tree | 089b793acdc0a623050733086492a4d5f5e85fdf /tests | |
parent | 8d77b4c84b68a0dab1a8c8f87cfe428df9a96ae4 (diff) | |
download | rabbitmq-c-426a3a78325927145c602e8462a7cb489db02327.tar.gz |
tests: fix memory leak in test_table.c
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_tables.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_tables.c b/tests/test_tables.c index cc40410..4c9fc75 100644 --- a/tests/test_tables.c +++ b/tests/test_tables.c @@ -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; } |