mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-17 03:08:26 +00:00
Fix some leaks of groups/raids (#1242)
These cases probably are exceedingly rare, but they still need to be accounted for. (As in, I don't think anyone has run into these cases too often to cause problems)
This commit is contained in:
committed by
GitHub
parent
f9923ffda0
commit
0ef01165ea
@@ -561,8 +561,9 @@ void Client::CompleteConnect()
|
||||
entity_list.AddRaid(raid, raidid);
|
||||
raid->LoadLeadership(); // Recreating raid in new zone, get leadership from DB
|
||||
}
|
||||
else
|
||||
raid = nullptr;
|
||||
else {
|
||||
safe_delete(raid);
|
||||
}
|
||||
}
|
||||
if (raid) {
|
||||
SetRaidGrouped(true);
|
||||
|
||||
Reference in New Issue
Block a user