mirror of https://github.com/axmolengine/axmol.git
Minor change.
This commit is contained in:
parent
b63559d86d
commit
7cb3be2057
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue