mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-13 11:54:04 +02:00
Ensure partsSimIndex is freed upon success state of OPS parsing
This commit is contained in:
@@ -705,6 +705,8 @@ fin:
|
|||||||
bson_destroy(&b);
|
bson_destroy(&b);
|
||||||
if(freeIndices)
|
if(freeIndices)
|
||||||
free(freeIndices);
|
free(freeIndices);
|
||||||
|
if(partsSimIndex)
|
||||||
|
free(partsSimIndex);
|
||||||
}
|
}
|
||||||
|
|
||||||
void GameSave::readPSv(char * data, int dataLength)
|
void GameSave::readPSv(char * data, int dataLength)
|
||||||
|
Reference in New Issue
Block a user