Added missing fclose() in test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Sat, 13 Jul 2013 21:06:56 +0200
changeset 7436 10163e41e563
parent 7435 63e300e4bd26
child 7437 964e8876ad3b
Added missing fclose() in test program. Found by Cppcheck.
test/testiconv.c
--- a/test/testiconv.c	Sat Jul 13 21:05:13 2013 +0200
+++ b/test/testiconv.c	Sat Jul 13 21:06:56 2013 +0200
@@ -84,5 +84,6 @@
         fputs(test[0], stdout);
         SDL_free(test[0]);
     }
+    fclose(file);
     return (errors ? errors + 1 : 0);
 }