使用vc 2008 的bcg 控件有内存泄露

使用vc 2008 的bcg 控件有内存泄露:

{759} client block at 0x0209DAC8, subtype c0, 200 bytes long.
a CMFCVisualManager object at $0209DAC8, 200 bytes long
Object dump complete.
程序“[448] facebook_dlg.exe: 本机”已退出,返回值为 2 (0x2)。

在退出前调用
if( CMFCVisualManager::GetInstance () != NULL )
        delete CMFCVisualManager::GetInstance();
解决了

你可能感兴趣的:(C++,mfc,vs2008,VC2008,bcg)