diff options
author | Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> | 2009-01-09 05:07:15 +0000 |
---|---|---|
committer | Suzuki, Toshiya (鈴木俊哉) <mpsuzuki@hiroshima-u.ac.jp> | 2009-01-09 05:07:15 +0000 |
commit | 2dc107949433f00905fab4206a5ec47c51ecb6d3 (patch) | |
tree | e91943eb5abdf8725d0a4396395354d1f4fdd1bf /src | |
parent | a79de11b222a0017b9f9aadb1d081f79a9a3da04 (diff) | |
download | freetype2-2dc107949433f00905fab4206a5ec47c51ecb6d3.tar.gz |
* src/base/ftobjs.c (FT_Done_Library): Issue an error when FT_Done_Face() is failed and retried
Diffstat (limited to 'src')
-rw-r--r-- | src/base/ftobjs.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/base/ftobjs.c b/src/base/ftobjs.c index bea470f3e..82559b528 100644 --- a/src/base/ftobjs.c +++ b/src/base/ftobjs.c @@ -4196,7 +4196,11 @@ faces = &FT_DRIVER(module)->faces_list; while ( faces->head ) + { FT_Done_Face( FT_FACE( faces->head->data ) ); + if ( faces->head ) + FT_ERROR(( "FT_Done_Library: failed to free some faces\n" )); + } } } |