summaryrefslogtreecommitdiff
path: root/tests/headerless_test.c
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2008-04-06 16:24:39 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2008-04-06 16:24:39 +1000
commita5f5a3abee90c97a4e720549a3485b111e706443 (patch)
treee40e7f8fbc38819458f39affb304c66cc1a04cc0 /tests/headerless_test.c
parentbbcaa89468157f41d82b28c296c8049804421561 (diff)
tests/*.c : Add calls to sf_close() where needed.
Diffstat (limited to 'tests/headerless_test.c')
-rw-r--r--tests/headerless_test.c4
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 */