View Single Post
  #4  
Old 01-28-2010, 10:37 PM
cybernine186
Sarnak
 
Join Date: Feb 2008
Posts: 87
Default

ugh...yea forgot about where I done the return without freeing the result.

in the database.cpp move

mysql_free_result(result);

above the

// Check Time Banned
if(timebanned > current) {
return -1;
}

and that will fix that small memory leak.
__________________
Lead GM Voidd of the Vallon / Tallon Zek Server
Reply With Quote