What steps will reproduce the problem?
1. Follow instructions to build and run Testbed
2. Run the Testbed
3. Exit
What is the expected output? What do you see instead?
Should not see any memory leaks, when I run under Visual Studio with leak
detection on I am seeing leaks. See
http://msdn.microsoft.com/en-us/library/e5ewb1h3(v=vs.71).aspx for how to
enable leak detection.
What version of the product are you using? On what operating system?
Using sources from Box2D 2.1.2.
Please provide any additional information below.
To fix the leak just add a call to glutLeaveMainLoop() in any code that calls
exit(int). For example case 27 in function Keyboard(...) in
Box2D\Testbed\Framework\Main.cpp, line 129.
Thanks for the great work on Box2D,
Steve Toscano
Original issue reported on code.google.com by sltosc...@gmail.com on 13 Mar 2011 at 9:05
Original issue reported on code.google.com by
sltosc...@gmail.com
on 13 Mar 2011 at 9:05