Commit 22f62cecc68c4f12960745ac32f13cd0655d7a49

henry 2001-08-09T02:49:45

Found memory leak in glCombine

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/FTPolyGlyph.cpp b/src/FTPolyGlyph.cpp
index 8e36105..0882528 100644
--- a/src/FTPolyGlyph.cpp
+++ b/src/FTPolyGlyph.cpp
@@ -39,7 +39,7 @@ void ftglEnd()
 
 void ftglCombine( GLdouble coords[3], void* vertex_data[4], GLfloat weight[4], void** outData)
 {
-	double* vertex = new double[3];
+	double* vertex = new double[3]; // FIXME MEM LEAK
 	
 	vertex[0] = coords[0];
 	vertex[1] = coords[1];