[Fontconfig] Add a new function 'FcPatternRefCount'

Lawrence D'Oliveiro ldo at geek-central.gen.nz
Mon Jun 5 20:41:01 UTC 2023


On Mon, 5 Jun 2023 13:59:07 +0100, Frederick Virchanza Gotham wrote:

> The patch I proposed to libpango uses the 'atexit' function to free
> all the once-off allocations when the program ends.

If it were to call FcPatternDestroy once for each “once-off” allocation,
shouldn’t that be enough?


More information about the Fontconfig mailing list