From 657915558f9e02899198b0c5b000b4af82504486 Mon Sep 17 00:00:00 2001 From: Thomas Arnhold Date: Sat, 25 Jun 2011 14:06:41 +0200 Subject: [PATCH] Close file descriptor --- desktop/unx/source/splashx.c | 1 + 1 file changed, 1 insertion(+) 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