From 8b3551a7f9700305e5df7dcbd1c6b57016df367f Mon Sep 17 00:00:00 2001 From: Werner Lemberg Date: Thu, 7 Mar 2002 23:22:28 +0000 Subject: [PATCH] * src/base/ftutil.c (FT_Realloc): Use MEM_Set instead of memset. --- ChangeLog | 4 ++++ src/base/ftutil.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4c04559cc..c1fedd22f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2002-03-08 Werner Lemberg + + * src/base/ftutil.c (FT_Realloc): Use MEM_Set instead of memset. + 2002-03-07 Werner Lemberg * 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 f30ca4240..f8cf7d3e7 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;