> I assume that without add_timeout this function is never called. In that > case, audioSoFar and add_point could also be the reason.
You're right that this function isn't called without the add_timeout call. I tried using an empty loop (I commented out the calls to audioSoFar and add_point, and everything else in the loop besides the repeat_timeout call) and I got the leak. When I commented out the add_timeout call that starts the loop, the leak disappeared. > > I never used the google's leak checker, so I don't know if it's just > reporting memory usage or does some more advanced checking. With a > decent memory checker you can easily check where the leak is coming from > (don't know any available for windows though). > The memory leak detector isn't by Google; I just wasn't sure if the spam detectors would flag me for posting a link. The detector is here-- http://wyw.dcweb.cn/leakage.htm. _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

