coin3d / coin

Coin3D core library
BSD 3-Clause "New" or "Revised" License
285 stars 108 forks source link

SoWin::init can lead to memory leaks? #46

Closed VolkerEnderlein closed 9 years ago

VolkerEnderlein commented 10 years ago

Original report by Anonymous.


I tried to run a Coin3D cone example in MFC, found SoWin::init("") generated many memory leaks. How to fix it? Thanks

VolkerEnderlein commented 10 years ago

Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).


Memory leaks can be a real pain, depending on how much info your debugger gives about the leaks as the programme exits. You get a listing of the leaks - how much info do you get on each leak? How many leaks are in the list?

Can you run your program in such a minimal way that you can avoid calling SoWin::init and still exit the program. Then, how many leaks do you get?

VolkerEnderlein commented 9 years ago

Original comment by Roy Walmsley (Bitbucket: walroy, GitHub: walroy).


No further comments - so closed.