This commit is contained in:
Ming 2010-09-06 10:01:50 +00:00
parent 64237a829e
commit 105c1d4ab6
1 changed files with 3 additions and 3 deletions

View File

@ -351,9 +351,9 @@ namespace cocos2d{
}
CCMenuItemSprite::~CCMenuItemSprite()
{
m_pNormalImage->release();
m_pSelectedImage->release();
m_pDisabledImage->release();
CCX_SAFE_RELEASE(m_pNormalImage);
CCX_SAFE_RELEASE(m_pSelectedImage);
CCX_SAFE_RELEASE(m_pDisabledImage);
}
void CCMenuItemSprite::draw()
{