Commit 7a7ede0fb7251b310ace9eec667bdf6819b153e1

henry 2003-10-08T21:00:41

Delete charmap in destructor.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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;
 }