MDLMoader: fix resource leak.
parent
659a55be4a
commit
2568797015
|
@ -731,6 +731,9 @@ void MDLImporter::ParseSkinLump_3DGS_MDL7(
|
|||
}
|
||||
VALIDATE_FILE_SIZE(szCurrent);
|
||||
*szCurrentOut = szCurrent;
|
||||
if ( nullptr != pcNew ) {
|
||||
delete pcNew;
|
||||
}
|
||||
}
|
||||
|
||||
// ------------------------------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue