summaryrefslogtreecommitdiff
path: root/tests/test_tables.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_tables.c')
-rw-r--r--tests/test_tables.c3
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;
}