diff options
| author | megamage <none@none> | 2009-05-06 09:33:34 -0500 |
|---|---|---|
| committer | megamage <none@none> | 2009-05-06 09:33:34 -0500 |
| commit | 9bbde48afbe5568f75df24ea0b0aad3d8660c54b (patch) | |
| tree | 24c77d692f5cafd35bcce54eb56b8c8ae96c390c /src/game/AuctionHouseBot.cpp | |
| parent | 6ff7d30004ce18107f17516fec915f6cc7231e8d (diff) | |
*Fix a memory leak of aubot. But this should not cause crash.
--HG--
branch : trunk
Diffstat (limited to 'src/game/AuctionHouseBot.cpp')
| -rw-r--r-- | src/game/AuctionHouseBot.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/AuctionHouseBot.cpp b/src/game/AuctionHouseBot.cpp index c15014c653a..b139358b74a 100644 --- a/src/game/AuctionHouseBot.cpp +++ b/src/game/AuctionHouseBot.cpp @@ -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; } } /////////////////////////////////////////////////////////////////////////////// |
