Fixed potential memleak in LoadEXR. close #629

This commit is contained in:
Robert Beckebans 2025-01-11 17:20:58 +01:00
parent e6a6a40d68
commit bbbd7d84eb

View file

@ -573,6 +573,7 @@ static void LoadEXR( const char* filename, unsigned char** pic, int* width, int*
if( ret != 0 )
{
common->Error( "LoadEXR( %s ): %s\n", filename, err );
FreeEXRErrorMessage( err );
return;
}
}