Browse Source

Fix debug crash due to ref miscounting

Michael Hansen 10 years ago
parent
commit
b666637a5d
  1. 1
      Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp

1
Sources/Plasma/PubUtilLib/plVault/plVaultClientApi.cpp

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

Loading…
Cancel
Save