aboutsummaryrefslogtreecommitdiff
path: root/tests/test_utils.c
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@users.noreply.github.com>2026-04-23 13:48:57 -0400
committerGitHub <noreply@github.com>2026-04-23 13:48:57 -0400
commit017bc273aedf3f20512beeb78a2f513913e56305 (patch)
tree8450c64203a0b85d8e447974417c1bebce64fb3e /tests/test_utils.c
parentd91c7bd6a35e2d979aeb1c2d11c6d8a21b57e173 (diff)
parent3c343e07936414981d5157b9713ff9b774b57fc5 (diff)
downloadstasis-017bc273aedf3f20512beeb78a2f513913e56305.tar.gz
Merge pull request #136 from jhunkeler/cmake-git-version-fixups
Bug Hunt 0x1000
Diffstat (limited to 'tests/test_utils.c')
-rw-r--r--tests/test_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_utils.c b/tests/test_utils.c
index 7361139..a5faf5c 100644
--- a/tests/test_utils.c
+++ b/tests/test_utils.c
@@ -279,6 +279,7 @@ void test_file_readlines() {
}
if (fwrite(data, sizeof(*data), strlen(data), fp) != strlen(data)) {
perror("short write");
+ fclose(fp);
return;
}
fclose(fp);