*Fix a memory leak of aubot. But this should not cause crash.

--HG--
branch : trunk
This commit is contained in:
megamage
2009-05-06 09:33:34 -05:00
parent 6ff7d30004
commit 9bbde48afb
+1 -1
View File
@@ -739,8 +739,8 @@ static void addNewAuctionBuyerBotBid(Player *AHBplayer, AHBConfig *config, World
auctionHouse->RemoveAuction(auction->Id); auctionHouse->RemoveAuction(auction->Id);
// Remove from database // Remove from database
auction->DeleteFromDB(); auction->DeleteFromDB();
delete auction;
} }
delete auction;
} }
} }
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////