• S
    Avoid using strdup inside library. (#488) · 92e2c4ba
    Sebastian Rasmussen 提交于
    If an application provides a malloc replacement through
    hb_malloc_impl() it is important that it is used to allocate
    everything, but the use of strdup() circumvents this and
    causes system malloc() to be called instead. This pairs
    badly with the custom hb_free_impl() being called later.
    92e2c4ba
hb-private.hh 27.8 KB