diff --git a/src/hb-pool.hh b/src/hb-pool.hh index a238d6404..95fc5a08e 100644 --- a/src/hb-pool.hh +++ b/src/hb-pool.hh @@ -39,8 +39,9 @@ struct hb_pool_t { next = nullptr; - for (chunk_t *_ : chunks) - hb_free (_); + + hb_iter (chunks) + | hb_apply (hb_free) + ; } T* alloc ()