Commit 81b81feb628a549c65ab7401c4d5dacb27a77827

Alexei Podtelezhnikov 2022-01-14T18:22:23

* src/base/fthash.c (hash_insert): Avoid unnecessary zeroing.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/base/fthash.c b/src/base/fthash.c
index 449b03a..313bbbb 100644
--- a/src/base/fthash.c
+++ b/src/base/fthash.c
@@ -243,7 +243,7 @@
     nn = *bp;
     if ( !nn )
     {
-      if ( FT_NEW( nn ) )
+      if ( FT_QNEW( nn ) )
         goto Exit;
       *bp = nn;