我这里有个Singleton模式的类,出现了内存泄露,但是删除不了,请问怎么解决问题?
class A;class B
{
public:
   A *GetA();
   static B& Instance();
   void SetA(const CString &strTitle);
private:
   static B* _B;
   CString strPath;
   A *_A;
   B();
   virtual ~B();
   B(const B&);
   B& operator=(const B&);};
B::B()
{
   this->A=new A;
}
B& B::instance()
{
   if(!_B)
   _B=new B;
}