mirror of https://github.com/axmolengine/axmol.git
Merge pull request #267 from natural-law/master
Modify the TextInputTest code to clean the memory leak.
This commit is contained in:
commit
a50fe1b95b
|
@ -106,7 +106,6 @@ void TextInputTest::backCallback(CCObject* pSender)
|
|||
void TextInputTest::addKeyboardNotificationLayer(KeyboardNotificationLayer * pLayer)
|
||||
{
|
||||
m_pNotificationLayer = pLayer;
|
||||
m_pNotificationLayer->retain();
|
||||
addChild(pLayer);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue