typedef struct FontInfo_t* FontHandle;
MichaelNS::FontMgr m;
MichaelNS::FontHandle FontGeladen;
const char *FontPtr;
start:
InFileFont.append("Ubuntu-B.ttf");
FontPtr = InFileFont.c_str();
FontGeladen = m.loadFont(FontPtr, NULL, NULL, 14, 0);
stop:
m.unloadFont(FontGeladen);
delete FontPtr;
delete causes a crash. How to unload the class correctly?
Thanks