aboutsummaryrefslogtreecommitdiffstats
path: root/tests/t-syserror.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/t-syserror.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/t-syserror.c b/tests/t-syserror.c
index a4cb983..93264dd 100644
--- a/tests/t-syserror.c
+++ b/tests/t-syserror.c
@@ -49,6 +49,7 @@ main (int argc, char *argv[])
}
if (fp)
{
+ fclose (fp);
fprintf (stderr, "unable to run test\n");
return 1;
}