mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-12-01 00:21:43 +00:00
fix "'ictionary' is freed outside the GC process" warning
This commit is contained in:
parent
dd40778c75
commit
53ea19c6a8
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ void Dictionary::Serialize(FSerializer &arc)
|
||||||
Dictionary *pointerToDeserializedDictionary;
|
Dictionary *pointerToDeserializedDictionary;
|
||||||
arc(key, pointerToDeserializedDictionary);
|
arc(key, pointerToDeserializedDictionary);
|
||||||
Map.TransferFrom(pointerToDeserializedDictionary->Map);
|
Map.TransferFrom(pointerToDeserializedDictionary->Map);
|
||||||
delete pointerToDeserializedDictionary;
|
pointerToDeserializedDictionary->Destroy();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue