diff --git a/src/client/GameSave.cpp b/src/client/GameSave.cpp index 6cc80e75f..a7b9fbf98 100644 --- a/src/client/GameSave.cpp +++ b/src/client/GameSave.cpp @@ -705,6 +705,8 @@ fin: bson_destroy(&b); if(freeIndices) free(freeIndices); + if(partsSimIndex) + free(partsSimIndex); } void GameSave::readPSv(char * data, int dataLength)