View Single Post
Re: Memory leak WIP #7 & #8
Old
  (#10)
botmeister
Ex-Council Member
 
botmeister's Avatar
 
Status: Offline
Posts: 1,090
Join Date: Nov 2003
Location: Canada
Default Re: Memory leak WIP #7 & #8 - 08-02-2004

Quote:
Originally Posted by stefanhendriks
*ATTENTION*
I have found code that would allocate memory using 'malloc' on map change. This is done on INITIALIZATION of the game dll but also on map change. On map change however the variable does not get freed. I suspect that due this accumilation of malloc's i will eventually eat up all your ram!

I have added a 'free memory' function before the initialization. I will release a WIP 8.5 in a few hours. I hope this leak will be solved then, perhaps this also solves the map change bug... (?)
Thanks for the quick fix stefan!


Maker of the (mEAn) Bot.Admin Manager

"In theory, there is no difference between theory and practice. But, in practice, there is." - Jan L.A. van de Snepscheut
  
Reply With Quote