* src/base/ftsystem.c (FT_Done_Memory): Use ft_sfree directly for

orthogonality (ft_free and ft_sfree could belong to different memory
pools).  This fixes Savannah bug #24297.
This commit is contained in:
Werner Lemberg 2008-09-18 11:20:12 +00:00
parent 0c0db3eb48
commit 55c40631f4
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2008-09-18 Werner Lemberg <wl@gnu.org>
* src/base/ftsystem.c (FT_Done_Memory): Use ft_sfree directly for
orthogonality (ft_free and ft_sfree could belong to different memory
pools). This fixes Savannah bug #24297.
2008-09-18 suzuki toshiya <mpsuzuki@hiroshima-u.ac.jp>
* src/cff/cffobjs.c (cff_face_init): Use TTAG_OTTO defined

View File

@ -4,7 +4,7 @@
/* */
/* ANSI-specific FreeType low-level system interface (body). */
/* */
/* Copyright 1996-2001, 2002, 2006 by */
/* Copyright 1996-2001, 2002, 2006, 2008 by */
/* David Turner, Robert Wilhelm, and Werner Lemberg. */
/* */
/* This file is part of the FreeType project, and may only be used, */
@ -294,7 +294,7 @@
#ifdef FT_DEBUG_MEMORY
ft_mem_debug_done( memory );
#endif
memory->free( memory, memory );
ft_sfree( memory );
}