Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix "'ictionary' is freed outside the GC process" warning
  • Loading branch information
mmaulwurff authored and coelckers committed May 18, 2020
1 parent dd40778 commit 53ea19c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/scripting/core/dictionary.cpp
Expand Up @@ -43,7 +43,7 @@ void Dictionary::Serialize(FSerializer &arc)
Dictionary *pointerToDeserializedDictionary;
arc(key, pointerToDeserializedDictionary);
Map.TransferFrom(pointerToDeserializedDictionary->Map);
delete pointerToDeserializedDictionary;
pointerToDeserializedDictionary->Destroy();
}
}

Expand Down

0 comments on commit 53ea19c

Please sign in to comment.