Delete charmap in destructor.
diff --git a/src/FTGlyphContainer.cpp b/src/FTGlyphContainer.cpp
index f7290ec..39013e4 100755
--- a/src/FTGlyphContainer.cpp
+++ b/src/FTGlyphContainer.cpp
@@ -6,7 +6,6 @@
FTGlyphContainer::FTGlyphContainer( FTFace* f)
: face(f),
- charMap(0),
err(0)
{
glyphs.push_back( NULL);
@@ -23,6 +22,7 @@ FTGlyphContainer::~FTGlyphContainer()
}
glyphs.clear();
+ delete charMap;
}