mirror of https://github.com/axmolengine/axmol.git
fixed #1553: fixed a memory leak in CCControlButton.
This commit is contained in:
parent
0533c8cb58
commit
571d86d51d
|
@ -63,6 +63,8 @@ CCControlButton::CCControlButton()
|
|||
|
||||
CCControlButton::~CCControlButton()
|
||||
{
|
||||
CC_SAFE_RELEASE(m_currentTitle);
|
||||
CC_SAFE_RELEASE(m_titleLabel);
|
||||
CC_SAFE_RELEASE(m_backgroundSpriteDispatchTable);
|
||||
CC_SAFE_RELEASE(m_titleLabelDispatchTable);
|
||||
CC_SAFE_RELEASE(m_titleColorDispatchTable);
|
||||
|
|
Loading…
Reference in New Issue