Commit a006a0f5ec2a5e11211135b9668d77f41fe74e05

Tom Kacvinsky 2001-10-21T20:30:54

2001-10-21 Tom Kacvinsky <tjk@ams.org> * src/cff/cffload.c (CFF_Done_Font): Free subfonts array only if we are working with a CID keyed CFF font. Otherwise, a variable that was never allocated memory might freed. This is a correction to the previous patch for freeing subfonts.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff --git a/ChangeLog b/ChangeLog
index 69d0f78..dc29feb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2001-10-21  Tom Kacvinsky  <tjk@ams.org>
 
+	* src/cff/cffload.c (CFF_Done_Font): Free subfonts array only if
+	we are working with a CID keyed CFF font.  Otherwise, a variable
+	that was never allocated memory might freed.  This is a correction
+	to the previous patch for freeing subfonts.
+
+2001-10-21  Tom Kacvinsky  <tjk@ams.org>
+
 	* src/cff/cffload.c (CFF_Done_Font): Free the subfonts array to
 	avoid a memory leak.