MFC library checks for memory leaks when unloading. Unfortunately that feature does not work correctly when there are some static objects that are deallocated after unloading mfc. There might also be some issues when other libraries are unloaded after unloading mfc.
Because of those false positives, the entire list of memory leaks is useless. Disable the reporting completely.