unset the FT_FACE_FLAG_EXTERNAL_STREAM flag on the face, so that it gets
2002-12-02 James Henstridge <james@daa.com.au> * src/ftstream-vfs.c (FT_New_URI_Face): unset the FT_FACE_FLAG_EXTERNAL_STREAM flag on the face, so that it gets freed with the face. (this is a bit of a hack ...).
This commit is contained in:
parent
2f46bdaa37
commit
dd78dff000
2 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,9 @@
|
|||
2002-12-02 James Henstridge <james@daa.com.au>
|
||||
|
||||
* src/ftstream-vfs.c (FT_New_URI_Face): unset the
|
||||
FT_FACE_FLAG_EXTERNAL_STREAM flag on the face, so that it gets
|
||||
freed with the face. (this is a bit of a hack ...).
|
||||
|
||||
* src/thumbnailer.c (main): fix bound on for loop (gaaaargh).
|
||||
(main): re-enable shutdown of the library
|
||||
|
||||
|
|
|
@ -113,5 +113,8 @@ FT_New_URI_Face(FT_Library library,
|
|||
return error;
|
||||
}
|
||||
|
||||
/* so that freetype will free the stream */
|
||||
(*aface)->face_flags &= ~FT_FACE_FLAG_EXTERNAL_STREAM;
|
||||
|
||||
return error;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue