Commit 4ef4bdf066bba4a0fb851e14714a77580cf860c4

Werner Lemberg 2002-03-07T23:22:28

* src/base/ftutil.c (FT_Realloc): Use MEM_Set instead of memset.

diff --git a/ChangeLog b/ChangeLog
index 4c04559..c1fedd2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2002-03-08  Werner Lemberg  <wl@gnu.org>
+
+	* src/base/ftutil.c (FT_Realloc): Use MEM_Set instead of memset.
+
 2002-03-07  Werner Lemberg  <wl@gnu.org>
 
 	* src/base/ftdbgmem.c (ft_mem_table_resize, ft_mem_table_new,
diff --git a/src/base/ftutil.c b/src/base/ftutil.c
index f30ca42..f8cf7d3 100644
--- a/src/base/ftutil.c
+++ b/src/base/ftutil.c
@@ -88,7 +88,7 @@
       goto Fail;
 
     if ( size > current )
-      memset( (char*)Q + current, 0, size - current );
+      MEM_Set( (char*)Q + current, 0, size - current );
 
     *P = Q;
     return FT_Err_Ok;