From 250c38a9aaf3a28838d5e00067de56b27345a565 Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Sat, 13 Jul 2013 21:06:56 +0200 Subject: [PATCH] Added missing fclose() in test program. Found by Cppcheck. --- test/testiconv.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/testiconv.c b/test/testiconv.c index 3da5a6f8a..85c2e4871 100644 --- a/test/testiconv.c +++ b/test/testiconv.c @@ -84,5 +84,6 @@ main(int argc, char *argv[]) fputs(test[0], stdout); SDL_free(test[0]); } + fclose(file); return (errors ? errors + 1 : 0); }