Files
Anthony Eid 6f844cf1a1 Fix get_descriptors memory leak (#746)
This function incorrectly assumed that
`CTFontCollectionCreateMatchingFontDescriptors` doesn't follow the
*Create* rule which is false.

From Apple's docs

> A retained reference to an array of normalized font descriptors
  matching the collection definition.

https://leopard-adc.pepas.com/documentation/Carbon/Reference/CTFontCollectionRef/Reference/reference.html#//apple_ref/c/func/CTFontCollectionCreateMatchingFontDescriptors

I also confirmed using instruments that this was causing a memory leak
in Zed.
2026-01-15 21:38:44 +00:00
..
2018-02-01 15:52:56 -05:00
2026-01-15 12:26:19 +00:00
2018-02-01 15:52:56 -05:00