Click here to Skip to main content
16,013,548 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
HI,

I am dumping the memory leaks in my .exe using _CrtDumpMemoryLeaks
As a result I am getting the line number and size of bytes that are not freed.

I was using {,,msvcr110d.dll}_crtBreakAlloc in my watch window during debugging in visual studio 2012 to find out the exact position where leak occurred.

But for visual studio 2015, I have not found any dll(msvcr140d.dll) along with installation. Is there some other way to find memory leaks in visual studio 2015?
Posted
Updated 31-May-16 1:56am

See this link about the refactoring of the CRT: http://blogs.msdn.com/b/vcblog/archive/2014/06/10/the-great-crt-refactoring.aspx?PageIndex=2[^]

There are now three libraries and according to the above link the heap functions are in appcrt140[d].dll.
 
Share this answer
 
Just in case someone else needs another solution, I found that for Microsoft Visual Studio Community 2015, the variable is located on ucrtbased.dll:

(int*){,,ucrtbased.dll}__crtBreakAlloc
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900