diff options
author | Tom Kacvinsky <tom.kacvinsky@3ds.com> | 2001-10-21 20:30:54 +0000 |
---|---|---|
committer | Tom Kacvinsky <tom.kacvinsky@3ds.com> | 2001-10-21 20:30:54 +0000 |
commit | fdba894d21cf419f05641ae59c663b18ef139ec7 (patch) | |
tree | cf77cbb3e62e51bf6f86f8587fdb566927a248c8 | |
parent | c1130459e841083fb6f44f7870e8486a2a0a8579 (diff) | |
download | freetype2-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-- | ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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. |