Memory leaks compiling C++ MFC App in debug mode

I also have several memory leaks just loading opencv 4 in debug mode. Could someone give me any suggestion on how to avoid them? They are very annoying because they let me distract from real application memory leaks.
thank you