mirror of
https://github.com/RetroDECK/Supermodel.git
synced 2025-03-06 14:27:44 +00:00
Fix tiny memory leak
This commit is contained in:
parent
18f460db6f
commit
1eac755bc3
|
@ -90,6 +90,7 @@ static void LoadBitRegister(CBlockFile *SaveState, Util::BitRegister *reg)
|
|||
char *str = new char[size];
|
||||
SaveState->Read(str, size);
|
||||
reg->Set(str);
|
||||
delete [] str;
|
||||
}
|
||||
|
||||
void CJTAG::SaveState(CBlockFile *SaveState)
|
||||
|
|
Loading…
Reference in a new issue