mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-03-13 22:22:05 +00:00
Fixed potential memleak in R_WriteEXR. close #630
This commit is contained in:
parent
bbbd7d84eb
commit
583a564106
1 changed files with 1 additions and 1 deletions
|
@ -853,7 +853,7 @@ void R_WriteEXR( const char* filename, const void* rgba16f, int channelsPerPixel
|
|||
if( size == 0 )
|
||||
{
|
||||
common->Error( "R_WriteEXR( %s ): Save EXR err: %s\n", filename, err );
|
||||
|
||||
FreeEXRErrorMessage( err );
|
||||
goto cleanup;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue