Ask Your Question

Stefan_L_01's profile - activity

2015-08-18 01:12:28 -0600 asked a question CFileDialog and cvLoadImage - no memleak detection anymore

Hi I use opencv 210 and 230. I encountered a strange Problem that visual C++ (2005, 2010) does not recognize memleaks anymore when there is compilled cv code ( currently i trakced it down to cvLoadImage, maybe other calls also) and a runtime call to CFileDialog

I put a memleak right in InitInstance at the beginning like char* px = new char[1000]; which is not destroyed later.

With the compilled cv instruction, a later call like this

CFileDialog dlg(true); dlg.DoModal();

will produce no Output of the memleak ending the application (also vld does not!)

Any ideas? Thx 4 help Stefan