Merge pull request #267 from natural-law/master

Modify the TextInputTest code to clean the memory leak.
This commit is contained in:
minggo 2011-05-11 20:01:23 -07:00
commit a50fe1b95b
1 changed files with 0 additions and 1 deletions

View File

@ -106,7 +106,6 @@ void TextInputTest::backCallback(CCObject* pSender)
void TextInputTest::addKeyboardNotificationLayer(KeyboardNotificationLayer * pLayer)
{
m_pNotificationLayer = pLayer;
m_pNotificationLayer->retain();
addChild(pLayer);
}