Re: mem leaks win32 call_back
- Posted by SDPringle Feb 04, 2010
- 1266 views
I have to retract what I said. You cannot use free_code(). You cannot free memory returned from call_back. CallBacks are there to let C routines call EUPHORIA routines. Call back sets up a place in EUPHORIA you want to let C call. It should be top level and in only a few places. This is what GUI libraries in EUPHORIA do for you. Why would you need to call this more than some constant number of times?
Shawn Pringle