close #4276:fixed crash on CocoStudioGuiTest->LabelBMFontTest.
Merge pull request #5558 from Dhilan007/develop_label

close #4276:fixed crash on CocoStudioGuiTest->LabelBMFontTest.