<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#c21">Comment # 21</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:akira@tagoh.org" title="Akira TAGOH <akira@tagoh.org>"> <span class="fn">Akira TAGOH</span></a>
</span></b>
<pre>(In reply to Behdad Esfahbod from <a href="show_bug.cgi?id=101889#c20">comment #20</a>)
<span class="quote">> Aren't you leaking the string?</span >
No, all of the allocated memory will be freed when caches is closed.
<span class="quote">> 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.</span >
Hmm, I was trying to understand and implement what you were suggesting, but
there are no way to obtain the font dirs from FcConfig in
FcPatternObjectGetWithBinding() because of the infinite loop of a call of
FcPatternObjectGetWithBinding() through FcInitLoadConfigAndFonts() to get an
instance of the initialized FcConfig...</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>