"Vincent Povirk (they/them)" vincent@codeweavers.com wrote:
I'm not convinced this requires reference counting. Maybe FontFamily objects only exist as part of a FontCollection, and their lifetime is based on that.
I thought about that, however I think that GdipCloneFontFamily needs to allocate a copy and in order to avoid a memory leak GdipDeleteFontFamily should be able to free it, and reference counting solves this problem.