fix Dictionary and DictionaryIterator memory leaks

This commit is contained in:
Alexander Kromm 2020-01-30 00:10:07 +07:00 committed by Christoph Oelckers
commit 3607ffaf66
6 changed files with 194 additions and 69 deletions

View file

@ -2190,7 +2190,7 @@ Dictionary *DictionaryFromString(const FString &string)
return nullptr;
}
Dictionary *const dict = new Dictionary;
Dictionary *const dict = Create<Dictionary>();
if (string.IsEmpty())
{