mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-24 02:46:33 +01:00
Core/Group: Fix memory leak
Fix memory leak happening when disbanding a group with an ongoing roll. Please note this is not blizz-like but at least we don't leak memory anymore.
This commit is contained in:
@@ -794,7 +794,7 @@ void Group::Disband(bool hideDestroy /* = false */)
|
||||
|
||||
_homebindIfInstance(player);
|
||||
}
|
||||
RollId.clear();
|
||||
|
||||
m_memberSlots.clear();
|
||||
|
||||
RemoveAllInvites();
|
||||
|
||||
Reference in New Issue
Block a user