Commit e646ff6fe2e11efc36ac233ca7027f5b07708275

David Turner 2000-12-05T08:39:14

fixed an obvious bug in FT_Done_Memory. The ANSI "free" function was called, instead of "memory->free" !!

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/base/ftsystem.c b/src/base/ftsystem.c
index da77ae6..f26363d 100644
--- a/src/base/ftsystem.c
+++ b/src/base/ftsystem.c
@@ -276,7 +276,7 @@
 
   FT_EXPORT_DEF( void )  FT_Done_Memory( FT_Memory  memory )
   {
-    free( memory );
+    memory->free( memory );
   }