| Index: core/src/fxge/android/fpf_skiafontmgr.cpp
|
| diff --git a/core/src/fxge/android/fpf_skiafontmgr.cpp b/core/src/fxge/android/fpf_skiafontmgr.cpp
|
| index ec7af81e79d2b57435a54d75539b1518b4c50507..86bb052435df5059cb71b614da6ae4148f369481 100644
|
| --- a/core/src/fxge/android/fpf_skiafontmgr.cpp
|
| +++ b/core/src/fxge/android/fpf_skiafontmgr.cpp
|
| @@ -245,9 +245,7 @@ CFPF_SkiaFontMgr::~CFPF_SkiaFontMgr()
|
| m_FamilyFonts.RemoveAll();
|
| for (int32_t i = m_FontFaces.GetUpperBound(); i >= 0; i--) {
|
| CFPF_SkiaFontDescriptor *pFont = (CFPF_SkiaFontDescriptor*)m_FontFaces.ElementAt(i);
|
| - if (pFont) {
|
| - delete pFont;
|
| - }
|
| + delete pFont;
|
| }
|
| m_FontFaces.RemoveAll();
|
| if (m_FTLibrary) {
|
|
|