* Crash fix: do not try to delete FTFont::glyphList if the constructor failed.
diff --git a/src/FTFont.cpp b/src/FTFont.cpp
index 0fbb20c..3bd2ff8 100644
--- a/src/FTFont.cpp
+++ b/src/FTFont.cpp
@@ -66,7 +66,10 @@ FTFont::FTFont( const unsigned char *pBufferBytes, size_t bufferSizeInBytes)
FTFont::~FTFont()
{
- delete glyphList;
+ if(glyphList)
+ {
+ delete glyphList;
+ }
}