Ensure partsSimIndex is freed upon success state of OPS parsing

This commit is contained in:
Simon Robertshaw 2012-06-18 15:57:41 +01:00
parent fc86c24027
commit 1fceab6e4a

View File

@ -705,6 +705,8 @@ fin:
bson_destroy(&b);
if(freeIndices)
free(freeIndices);
if(partsSimIndex)
free(partsSimIndex);
}
void GameSave::readPSv(char * data, int dataLength)