mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-14 02:27:40 -04:00
@ -4911,7 +4911,7 @@ UInt8 VaultAgeFindOrCreateChildAgeLink(
|
|||||||
|
|
||||||
// First, try to find an already existing ChildAge
|
// First, try to find an already existing ChildAge
|
||||||
char name[MAX_PATH];
|
char name[MAX_PATH];
|
||||||
StrToAnsi(name, parentAgeName, arrsize(parentAgeName));
|
StrToAnsi(name, parentAgeName, arrsize(name));
|
||||||
plAgeInfoStruct search;
|
plAgeInfoStruct search;
|
||||||
search.SetAgeFilename(name);
|
search.SetAgeFilename(name);
|
||||||
|
|
||||||
@ -4933,7 +4933,7 @@ UInt8 VaultAgeFindOrCreateChildAgeLink(
|
|||||||
if (RelVaultNode* rvnChildAges = rvnParentInfo->GetChildAgeInfoListNodeIncRef(plVault::kChildAgesFolder, 1)) {
|
if (RelVaultNode* rvnChildAges = rvnParentInfo->GetChildAgeInfoListNodeIncRef(plVault::kChildAgesFolder, 1)) {
|
||||||
const char* ageName = info->GetAgeFilename();
|
const char* ageName = info->GetAgeFilename();
|
||||||
wchar hack[MAX_PATH];
|
wchar hack[MAX_PATH];
|
||||||
StrToUnicode(hack, ageName, arrsize(ageName));
|
StrToUnicode(hack, ageName, arrsize(hack));
|
||||||
|
|
||||||
// Search for our age
|
// Search for our age
|
||||||
NetVaultNode* temp = NEWZERO(NetVaultNode);
|
NetVaultNode* temp = NEWZERO(NetVaultNode);
|
||||||
@ -4964,11 +4964,12 @@ UInt8 VaultAgeFindOrCreateChildAgeLink(
|
|||||||
nil,
|
nil,
|
||||||
p
|
p
|
||||||
);
|
);
|
||||||
|
|
||||||
|
retval = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
temp->DecRef();
|
temp->DecRef();
|
||||||
rvnChildAges->DecRef();
|
rvnChildAges->DecRef();
|
||||||
retval = FALSE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
rvnParentInfo->DecRef();
|
rvnParentInfo->DecRef();
|
||||||
|
Reference in New Issue
Block a user