|
From: Rodrigo H. <kw...@ae...> - 2005-04-21 18:31:57
|
Ok, I fixed it, thanks, let me know if you find any more. Cheers! Andreas wrote: > hi, > > i used freesolid 2.1.1 compiled as static lib with microsoft visual > .net 7.1. > i have detected a memory leak in my project. after tracing i found it > was caused by method Object::do_broadphase() in the following lines: > > Scalar *lower_point = new Scalar[3]; > Scalar *upper_point = new Scalar[3]; > > the allocated memory is not used and not freed. it should be replaced by: > > Scalar *lower_point; > Scalar *upper_point; > > i test it and it works fine. > > ciao > andreas > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > Freesolid-users mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freesolid-users > > |