Minor change.

This commit is contained in:
Nicolas Gramlich 2012-05-31 17:01:01 -07:00
parent b63559d86d
commit 7cb3be2057
1 changed files with 3 additions and 5 deletions

View File

@ -734,12 +734,10 @@ CCLabelBMFont * CCLabelBMFont::node()
if (pRet && pRet->init())
{
pRet->autorelease();
return pRet;
}
else
{
CC_SAFE_DELETE(pRet);
}
return pRet;
CC_SAFE_DELETE(pRet);
return NULL;
}
//LabelBMFont - Creation & Init