Small memory leak in cocos2d-wp8

I couldn’t find a way to file an issue on the issue tracker, so i’m posting it here.

Small memory leak in the Windows Phone 8 version of cocos2D.

FTTextPainter.cpp, line 269, CHAR* lpszNameBuf = new CHAR[tabRecord.uStringLength + 1];

This is only being freed in the conditional below, so if ReadFile fails the buffer will never be freed.