summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Kacvinsky <tom.kacvinsky@3ds.com>2001-10-21 20:30:54 +0000
committerTom Kacvinsky <tom.kacvinsky@3ds.com>2001-10-21 20:30:54 +0000
commitfdba894d21cf419f05641ae59c663b18ef139ec7 (patch)
treecf77cbb3e62e51bf6f86f8587fdb566927a248c8
parentc1130459e841083fb6f44f7870e8486a2a0a8579 (diff)
downloadfreetype2-fdba894d21cf419f05641ae59c663b18ef139ec7.tar.gz
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.
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 69d0f786d..dc29febbb 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.