diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-08-07 12:13:07 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-08-07 12:13:07 -0400 |
commit | a33f8a493349af9ec54be8039b9b00a645cdea4b (patch) | |
tree | 41c0f350a8313eba3a5cf22940a0b30e24470e14 | |
parent | 05e2d2a9cd1d98932e88581057afb714b996ef0f (diff) | |
download | stasis-a33f8a493349af9ec54be8039b9b00a645cdea4b.tar.gz |
Tests: Free resources
-rw-r--r-- | tests/test_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_utils.c b/tests/test_utils.c index 4b19604..9090b05 100644 --- a/tests/test_utils.c +++ b/tests/test_utils.c @@ -71,6 +71,7 @@ void test_fix_tox_conf() { char **lines = file_readlines(result, 0, 0, NULL); STASIS_ASSERT(strstr_array(lines, expected) != NULL, "{posargs} not found in result"); + GENERIC_ARRAY_FREE(lines); remove(result); guard_free(result); @@ -106,6 +107,7 @@ void test_xml_pretty_print_in_place() { STASIS_ASSERT(false, "failed to consume formatted xml file contents"); } STASIS_ASSERT(strcmp(expected, buf) == 0, "xml file was not reformatted"); + fclose(fp); } void test_path_store() { |