* src/base/ftdbgmem.c (ft_mem_table_destroy): fixed a small bug that
caused the library to crash with Electric Fence when memory debugging is used..
This commit is contained in:
parent
5819e3f3c7
commit
d19bd8003f
|
@ -4,6 +4,10 @@
|
|||
allocation bug that was due to un-careful renaming of the FT_SubGlyph
|
||||
type..
|
||||
|
||||
* src/base/ftdbgmem.c (ft_mem_table_destroy): fixed a small bug that
|
||||
caused the library to crash with Electric Fence when memory debugging
|
||||
is used..
|
||||
|
||||
* renaming stream macros. Examples:
|
||||
|
||||
FILE_Skip => FT_STREAM_SKIP
|
||||
|
|
|
@ -324,13 +324,14 @@
|
|||
|
||||
table->size = 0;
|
||||
table->nodes = 0;
|
||||
free( table );
|
||||
|
||||
printf(
|
||||
"FreeType: total memory allocations = %ld\n", table->alloc_total );
|
||||
printf(
|
||||
"FreeType: maximum memory footprint = %ld\n", table->alloc_max );
|
||||
|
||||
free( table );
|
||||
|
||||
if ( leak_count > 0 )
|
||||
ft_mem_debug_panic(
|
||||
"FreeType: %ld bytes of memory leaked in %ld blocks\n",
|
||||
|
|
Loading…
Reference in New Issue