another early close for openexr read

This commit is contained in:
John Cupitt 2018-08-19 19:30:11 +01:00
parent f4250ab7ab
commit 3d249924a5
1 changed files with 1 additions and 0 deletions

View File

@ -239,6 +239,7 @@ vips__openexr_read_header( const char *filename, VipsImage *out )
if( !(read = read_new( filename, out )) )
return( -1 );
read_header( read, out );
read_close( read );
return( 0 );
}