Home > Software engineering >  OpenCV2.4.8 VC2010 MFC memory leaks
OpenCV2.4.8 VC2010 MFC memory leaks

Time:10-14

Memory leaks
When using VC2010 control end program, with the main function, using OpenCV class diagram VideoCapture, to figure, display, and then cancel, no memory leak phenomenon,
When using VC2010 MFC dialog, using OpenCV class diagram VideoCapture, define the object, after can figure, after the cancellation, when the exit, there will be a memory leak phenomenon,
At first, we suspect that is involved in the camera. After all, 400 multivariate camera have problem, so in the CMOS camera industry, have driven, but use OpenCV invoked, this memory leak phenomenon still exist,
So, still turn to the problem of OpenCV,
Consult you, can solve the phenomenon of this kind of memory leaks,

CodePudding user response:

C the Run - Time Libraries http://msdn.microsoft.com/zh-cn/library/abx4dbyh (vs. 80). Aspx

CodePudding user response:

It should be your part of the MFC code problem, can be a part of the code, analyse and have a look
  • Related