aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Handlers/MailHandler.cpp
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2014-06-29 14:03:29 +0200
committerjackpoz <giacomopoz@gmail.com>2014-06-29 14:03:29 +0200
commitee4602db3d40f061b9ce69445359f47aaf78f278 (patch)
tree2afdf9fcf518e0eb7f73b6495e6cfc5c8b2307b0 /src/server/game/Handlers/MailHandler.cpp
parentf8720d5be0301ce123af28277d936961e7fa2c43 (diff)
Core/Battleground: Fix crash added in c28345e279f31af2fa32df2411325ccfabe06fc8
Fix a double-delete crash added in c28345e279f31af2fa32df2411325ccfabe06fc8 caused by copy-constructor copying pointers across different Battleground instances. Valgrind log: Invalid read of size 8 at : Battleground::~Battleground() (Battleground.cpp:231) by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74) by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74) by : BattlegroundMgr::Update(unsigned int) (BattlegroundMgr.cpp:103) by : World::Update(unsigned int) (World.cpp:2067) Address 0x5675d140 is 0 bytes inside a block of size 24 free'd at : operator delete(void*) (vg_replace_malloc.c:509) by : ArenaTeamScore::~ArenaTeamScore() (ArenaScore.h:64) by : Battleground::~Battleground() (Battleground.cpp:231) by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74) by : BattlegroundWS::~BattlegroundWS() (BattlegroundWS.cpp:74) by : BattlegroundMgr::Update(unsigned int) (BattlegroundMgr.cpp:103)
Diffstat (limited to 'src/server/game/Handlers/MailHandler.cpp')
0 files changed, 0 insertions, 0 deletions