mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
[pool] Don't clear unused memory
This commit is contained in:
1 parent
6129702eb8
commit
e4b2d9c3f3
1 file changed
+1
-1
+1
-1
@@ -58,7 +58,7 @@ struct hb_pool_t
|
||||
if (unlikely (!next))
|
||||
{
|
||||
if (unlikely (!chunks.alloc (chunks.length + 1))) return nullptr;
|
||||
chunk_t *chunk = (chunk_t *) hb_calloc (1, sizeof (chunk_t));
|
||||
chunk_t *chunk = (chunk_t *) hb_malloc (sizeof (chunk_t));
|
||||
if (unlikely (!chunk)) return nullptr;
|
||||
chunks.push (chunk);
|
||||
next = chunk->thread ();
|
||||
|
||||
Reference in new issue
Block a user