diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c index 6bcb10ef149d..0b8ed4f9ccc4 100755 --- a/desktop/unx/source/splashx.c +++ b/desktop/unx/source/splashx.c @@ -144,6 +144,7 @@ int splash_load_bmp( const char *filename ) width = png_get_image_width( png_ptr, info_ptr ); height = png_get_image_height( png_ptr, info_ptr ); + fclose( file ); return 1; } #else