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() CCMenuItemSprite::~CCMenuItemSprite()
{ {
m_pNormalImage->release(); CCX_SAFE_RELEASE(m_pNormalImage);
m_pSelectedImage->release(); CCX_SAFE_RELEASE(m_pSelectedImage);
m_pDisabledImage->release(); CCX_SAFE_RELEASE(m_pDisabledImage);
} }
void CCMenuItemSprite::draw() void CCMenuItemSprite::draw()
{ {