Thread
:
Possible issue using GetItem() in SharedDatabase::SetStartingItems()
View Single Post
#
35
02-18-2013, 08:59 AM
lerxst2112
Demi-God
Join Date: Aug 2010
Posts: 1,743
I'm looking at the current code in SharedDatabase::SetStartingItems, and it does call CreateBaseItem.
The code you posted has a memory leak since the ItemInst* returned from CreateBaseItem is never deleted.
lerxst2112
View Public Profile
Send a private message to lerxst2112
Find all posts by lerxst2112