summaryrefslogtreecommitdiff
path: root/src/gzip
diff options
context:
space:
mode:
authorAlexei Podtelezhnikov <apodtele@gmail.com>2021-04-30 09:35:21 -0400
committerAlexei Podtelezhnikov <apodtele@gmail.com>2021-04-30 09:35:21 -0400
commit4e1c6a12e5f285d57e66818177013cce7efbd7b0 (patch)
treec6679248b540871a5542337fdd9dbac004f37d64 /src/gzip
parentf631542dae1aaf9101135ed660cd3ff1d08ed93c (diff)
downloadfreetype2-4e1c6a12e5f285d57e66818177013cce7efbd7b0.tar.gz
* src/gzip/ftgzip.c (ft_gzip_alloc): Zero out memory again.
Diffstat (limited to 'src/gzip')
-rw-r--r--src/gzip/ftgzip.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gzip/ftgzip.c b/src/gzip/ftgzip.c
index 064b8f5de..0dc0a6177 100644
--- a/src/gzip/ftgzip.c
+++ b/src/gzip/ftgzip.c
@@ -130,7 +130,8 @@
FT_Pointer p = NULL;
- (void)FT_QALLOC( p, sz );
+ /* allocate and zero out */
+ (void)FT_ALLOC( p, sz );
return p;
}