mirror of https://github.com/axmolengine/axmol.git
issue #61:
This commit is contained in:
parent
64237a829e
commit
105c1d4ab6
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue