<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Make fontconfig cache relocatable"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101889#c20">Comment # 20</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Make fontconfig cache relocatable"
href="https://bugs.freedesktop.org/show_bug.cgi?id=101889">bug 101889</a>
from <span class="vcard"><a class="email" href="mailto:freedesktop@behdad.org" title="Behdad Esfahbod <freedesktop@behdad.org>"> <span class="fn">Behdad Esfahbod</span></a>
</span></b>
<pre>(In reply to Akira TAGOH from <a href="show_bug.cgi?id=101889#c19">comment #19</a>)
<span class="quote">> Hm, just done similar implementation in this morning and the discussion
> ongoing.
>
> <a href="https://cgit.freedesktop.org/~tagoh/fontconfig/log/?h=relpath-cache-3">https://cgit.freedesktop.org/~tagoh/fontconfig/log/?h=relpath-cache-3</a>
>
> 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.</span >
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
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Make fontconfig cache relocatable"
href="show_bug.cgi?id=101889#c17">https://bugs.freedesktop.org/show_bug.cgi?id=101889#c17</a> should be implemented.
I can do it myself if you don't want to.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>