Home > Software engineering >  Consult the MFC using Mat memory leak problem
Consult the MFC using Mat memory leak problem

Time:10-01

The use of opencv MFC development process, as long as the introduction of Mat, can appear a memory leak,
Test program is very simple, a program based on the dialog, in OnBnClickedOk () the introduction of Mat, close the window, is a memory leak,

CodePudding user response:

Not really leak, you in link option is set, the set DLL lazy loading, and then sets the opencv's DLL into delay add-in, wouldn't tip leakage

CodePudding user response:

reference 1/f, worldy response:
not really leak, in link option is set, you set the DLL lazy loading, and then sets the opencv's DLL into delay add-in, wouldn't tip leakage

Thank you very much!
Could you explain why?
  • Related