mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-16 11:33:03 +01:00
Reset the string builder rather than overwrite it
This commit is contained in:
@@ -170,8 +170,8 @@ public:
|
||||
|
||||
// Clean up the parsing work data
|
||||
Memory::Free(_currentGroup);
|
||||
// Destruct the string builder to free memory
|
||||
_stringDataSB = StringBuilder();
|
||||
// Reset the string builder to free memory
|
||||
_stringDataSB.Reset();
|
||||
_currentGroup = nullptr;
|
||||
_currentObjectOverride = nullptr;
|
||||
_currentScenarioOverride = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user