Memory leaks when inlcuding the libary in MFC project
I have created an test MFC project to remove every dependency. cpprest.zip. Compiled with visual studio 2013. I have added the project using NuGet.
After executing the project visual studio reports a lot of memory leaks. I have added visual leak detector, but that reports no leaks (First two lines of the pastebin). See http://pastebin.com/KdLDtAf6. Adding the cpprest120d_2_8.dll to the delayed dll import (linker->input) solves most of the leaks (only leaks of #67 remain).
However, I receive "cannot delay load 'cpprest120d_2_8.dll' " when using the http_client class.
When uncommenting the "CreateRequest" functions, even more memory leaks happen. These are also reported by Visual Leak Detector. See http://pastebin.com/wGWdEuBB
Anyone knows where the leaks are coming from or how I can ignore them?
Source: microsoft/cpprestsdk