View Single Post
Old 09-26-2009, 03:15 PM   #209
-=*Raz0r*=-
Rookie
 
-=*Raz0r*=-'s Avatar
 
Join Date: Oct 2006
Location: Australia
Posts: 243
Screw letting the dead rest in peace, I want to bring this part of the forum alive again.

Basically, the Q3/JKA memory management is poor - Do not follow their examples!
More at this thread (Old JA+ exploit)

"When you assign dynamic memory as a buffer for anything, be sure to free the damn memory when you are done with it!"
Otherwise, if that function is called enough, the memory pool will overflow and crash the server - Not a good thing at all!
For the most part, it's not a problem..but if us mod authors are allocating memory for whatever reason, free it!

-=*Raz0r*=- is offline   you may: quote & reply,