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