mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
*Fix a memory leak of aubot. But this should not cause crash.
--HG-- branch : trunk
This commit is contained in:
@@ -739,8 +739,8 @@ static void addNewAuctionBuyerBotBid(Player *AHBplayer, AHBConfig *config, World
|
||||
auctionHouse->RemoveAuction(auction->Id);
|
||||
// Remove from database
|
||||
auction->DeleteFromDB();
|
||||
delete auction;
|
||||
}
|
||||
delete auction;
|
||||
}
|
||||
}
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user