diff --git a/tests/tests/TextInputTest/TextInputTest.cpp b/tests/tests/TextInputTest/TextInputTest.cpp index 7458be6d8f..09e5a23609 100644 --- a/tests/tests/TextInputTest/TextInputTest.cpp +++ b/tests/tests/TextInputTest/TextInputTest.cpp @@ -106,7 +106,6 @@ void TextInputTest::backCallback(CCObject* pSender) void TextInputTest::addKeyboardNotificationLayer(KeyboardNotificationLayer * pLayer) { m_pNotificationLayer = pLayer; - m_pNotificationLayer->retain(); addChild(pLayer); }