title: CRT not detecting memory leak in DLL
body: <p>I developed an application which consists of main executable and dynamic library (dll). Both of them are developed by me and are build with same compiler (FYI: both are contained in same VS solution) on Windows 10 Pro.</p>
  
  <p>When i want to test the executable and library for memory leaks with <a href="https://docs.microsoft.com/en-us/visualstudio/debugger/finding-memory-leaks-using-the-crt-library" rel="nofollow noreferrer">MS CRT</a> library. I can detect memory leaks in the executable, but not in dynamic library (i intentionally leak in both with one undeleted integer).</p>
  
  <p>Executable is build with MDd and the library is build with MTd. I also tried building the executable with MTd with no success. (Library due to its dependencies must be build with MT(d)). Also please be noted, I do not mean that i have smaller reports of memory leaks (like without filenames and lines), I mean there are no reports for dll when there should be atleast one.</p>
  
  <p>The question is if does anybody had this problem and knows how to solve it.</p>