View Single Post
Old 09-26-2009, 03:44 PM   #210
acdcfanbill
..the wonders I have seen
 
acdcfanbill's Avatar
 
Status: Super Moderator
Join Date: Jun 2001
Location: Random Hell Wholes around the
Posts: 5,696
Imperialist Meatbags Guild Member The Walking Carpets Guild Member LFN Staff Member 10 year veteran! 
Quote:
Originally Posted by -=*Raz0r*=- View Post
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!
I don't see why it's that poor. It's just lazy modders who are used to languages with memory management systems. Being in C, Q3/JKA figure you are going to clean up your own messes

acdcfanbill is offline   you may: quote & reply,