[Libreoffice-commits] .: desktop/unx

Thomas Arnhold tarnhold at kemper.freedesktop.org
Sun Jun 26 06:25:52 PDT 2011


 desktop/unx/source/splashx.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 6adf3eef9e3baff14c3984a149982c358b3d3a5d
Author: Thomas Arnhold <thomas at arnhold.org>
Date:   Sat Jun 25 14:06:41 2011 +0200

    Close file descriptor

diff --git a/desktop/unx/source/splashx.c b/desktop/unx/source/splashx.c
index 6bcb10e..0b8ed4f 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


More information about the Libreoffice-commits mailing list