mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-05-10 06:24:57 +00:00
Fix t6 weapondumper not freeing temporary fulldef
This commit is contained in:
parent
7868916a25
commit
71c291ade2
@ -1647,4 +1647,6 @@ void AssetDumperWeapon::DumpAsset(Zone* zone, XAssetInfo<WeaponVariantDef>* asse
|
|||||||
const auto infoString = converter.Convert();
|
const auto infoString = converter.Convert();
|
||||||
const auto stringValue = infoString.ToString("WEAPONFILE");
|
const auto stringValue = infoString.ToString("WEAPONFILE");
|
||||||
out->Write(stringValue.c_str(), 1, stringValue.length());
|
out->Write(stringValue.c_str(), 1, stringValue.length());
|
||||||
|
|
||||||
|
delete fullDef;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user