*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);
|
auctionHouse->RemoveAuction(auction->Id);
|
||||||
// Remove from database
|
// Remove from database
|
||||||
auction->DeleteFromDB();
|
auction->DeleteFromDB();
|
||||||
|
delete auction;
|
||||||
}
|
}
|
||||||
delete auction;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user