View Single Post
Re: Memory leak WIP #7 & #8
Old
  (#9)
stefanhendriks
RealBot Author
 
stefanhendriks's Avatar
 
Status: Offline
Posts: 3,088
Join Date: Nov 2003
Location: Netherlands
Default Re: Memory leak WIP #7 & #8 - 08-02-2004

*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... (?)


Author of RealBot, "Arrakis" and "Dune 2 - The Maker" | co-Founder of Bots-United | Fundynamic | Blog | E-Mail me
  
Reply With Quote