Finding leak sources with vc++6.0

Started by
0 comments, last by SiCrane 18 years, 6 months ago
With VC++ 6.0 I have found a way to detect when a memory leak is happening in my program, but is there a way to find out in wich line of code the unfreed memory is allocated?
Advertisement
Assuming you are using the functions in crtdbg.h, the memory leak dump should give you an allocation number. You can use that allocation number with _CrtSetBreakAlloc() to break on that allocation.

This topic is closed to new replies.

Advertisement