1
0
mirror of https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git synced 2025-07-18 11:19:10 +00:00

Merge pull request #433 from zrax/refcnt

Fix debug crash due to ref miscounting
This commit is contained in:
2014-05-29 12:15:19 -04:00

View File

@ -5004,6 +5004,7 @@ uint8_t VaultAgeFindOrCreateChildAgeLink(
// Search for our age // Search for our age
NetVaultNode* temp = new NetVaultNode; NetVaultNode* temp = new NetVaultNode;
temp->Ref();
temp->SetNodeType(plVault::kNodeType_AgeInfo); temp->SetNodeType(plVault::kNodeType_AgeInfo);
VaultAgeInfoNode theAge(temp); VaultAgeInfoNode theAge(temp);
theAge.SetAgeFilename(hack); theAge.SetAgeFilename(hack);