Hey folks!
You have memory leak in CCLabelBMFont in latest version:
leaking m_sString;
Fast fix
- init it to 0 in constructor
- put CC_SAFE_DELETE(m_sString); before any m_sString = cc_utf8_from_cstr(theString);
enjoy!
Caraorn
Mingle Games
Hey folks!
You have memory leak in CCLabelBMFont in latest version:
leaking m_sString;
Fast fix
enjoy!
Caraorn
Mingle Games
Yeap, thank you.
We have fixed it in gles20 branch.
And will synchronize to 1.1.
Hey,
In version 0.13.0, CCLabelBMFont is still leaking.
Fix below
`void CCLabelBMFont::setString(const char *newString, bool fromUpdate)
{
if (fromUpdate)
{
Thnx
P