mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-13 22:22:05 +00:00
Fixed potential memleak in LoadEXR. close #629
This commit is contained in:
parent
e6a6a40d68
commit
bbbd7d84eb
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue