small refcounting fixes, add private operator delete to iObject
[vuplus_dvbapp] / lib / gdi / font.cpp
index 09154de..450269f 100644 (file)
@@ -212,7 +212,6 @@ float fontRenderClass::getLineHeight(const gFont& font)
        if (FTC_Manager_Lookup_Size(cacheManager, &fnt->font.font, &current_face, &fnt->size)<0)
 #endif
        {
-               delete fnt;
                eDebug("FTC_Manager_Lookup_Size failed!");
                return 0;
        }