fix mismatched malloc() / delete [], fixes # 106

This commit is contained in:
jacob1
2012-12-17 23:57:55 -05:00
parent dbe78c342d
commit 672c5ee913

View File

@@ -978,7 +978,7 @@ std::string Client::AddStamp(GameSave * saveData)
stampStream.write((const char *)gameData, gameDataLength); stampStream.write((const char *)gameData, gameDataLength);
stampStream.close(); stampStream.close();
delete[] gameData; free(gameData);
stampIDs.push_front(saveID.str()); stampIDs.push_front(saveID.str());