Thread: Bot Beg Buff
View Single Post
  #4  
Old 01-02-2014, 09:11 PM
seveianrex
Sarnak
 
Join Date: Sep 2008
Location: asdf
Posts: 60
Default

Quote:
Originally Posted by lerxst2112 View Post
Wow that's a whole lot of memory leaks. Don't use new if you don't need to.
Care to elaborate? The only potentially dangerous thing I can see would be the one that iterates the spells list and then strcpys to sName. That is code I copied directly from #findspell however :P Other than that I define 3 chars, most of which are temp for the purposes of sprintf.
Reply With Quote