View Single Post
  #35  
Old 02-18-2013, 08:59 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,743
Default

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.
Reply With Quote