diff options
author | Erik de Castro Lopo <erikd@mega-nerd.com> | 2008-04-06 16:24:39 +1000 |
---|---|---|
committer | Erik de Castro Lopo <erikd@mega-nerd.com> | 2008-04-06 16:24:39 +1000 |
commit | a5f5a3abee90c97a4e720549a3485b111e706443 (patch) | |
tree | e40e7f8fbc38819458f39affb304c66cc1a04cc0 /tests/headerless_test.c | |
parent | bbcaa89468157f41d82b28c296c8049804421561 (diff) |
tests/*.c : Add calls to sf_close() where needed.
Diffstat (limited to 'tests/headerless_test.c')
-rw-r--r-- | tests/headerless_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/headerless_test.c b/tests/headerless_test.c index 21e056b..6c3cd0e 100644 --- a/tests/headerless_test.c +++ b/tests/headerless_test.c @@ -104,6 +104,8 @@ headerless_test (const char * filename, int format, int expected) check_log_buffer_or_die (file, __LINE__) ; + sf_close (file) ; + printf ("ok\n") ; unlink (filename) ; } /* headerless_test */ @@ -174,6 +176,8 @@ old_test (void) exit (1) ; } ; + sf_close (file) ; + printf ("ok\n") ; unlink (filename) ; } /* old_test */ |