Close file descriptor
This commit is contained in:
parent
f886c513a2
commit
657915558f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue