[Fontconfig-bugs] [Bug 101889] Make fontconfig cache relocatable

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Aug 3 14:15:10 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=101889

--- Comment #20 from Behdad Esfahbod <freedesktop at behdad.org> ---
(In reply to Akira TAGOH from comment #19)
> Hm, just done similar implementation in this morning and the discussion
> ongoing.
> 
> https://cgit.freedesktop.org/~tagoh/fontconfig/log/?h=relpath-cache-3
> 
> Not modifying FcPatternObjectAddWithBinding() because I'm not expecting to
> see any modifications more than this in the cache. only making caches
> writable during very limited time frame on loading.

Aren't you leaking the string?

I don't like this.  This is still making caches consume private memory.  I
think what I sketched in
https://bugs.freedesktop.org/show_bug.cgi?id=101889#c17 should be implemented. 
I can do it myself if you don't want to.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20170803/7cdec977/attachment.html>


More information about the Fontconfig-bugs mailing list