<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Memory leak in cairo_show_text"
href="https://bugs.freedesktop.org/show_bug.cgi?id=105466">105466</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Memory leak in cairo_show_text
</td>
</tr>
<tr>
<th>Product</th>
<td>cairo
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>freetype font backend
</td>
</tr>
<tr>
<th>Assignee</th>
<td>david@freetype.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>philip.chimento@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>cairo-bugs@cairographics.org
</td>
</tr></table>
<p>
<div>
<pre>Here's a valgrind trace that I don't think is caused by my code:
==28514== at 0x4C2DB6B: malloc (vg_replace_malloc.c:299)
==28514== by 0xBCC752D: ??? (in /usr/lib64/libfontconfig.so.1.10.1)
==28514== by 0xBCC7CD6: ??? (in /usr/lib64/libfontconfig.so.1.10.1)
==28514== by 0xBCC8777: FcPatternDuplicate (in
/usr/lib64/libfontconfig.so.1.10.1)
==28514== by 0x9907AA2: _cairo_ft_font_face_create_for_pattern
(cairo-ft-font.c:2976)
==28514== by 0x9907CAF: _cairo_ft_font_face_create_for_toy
(cairo-ft-font.c:2817)
==28514== by 0x98BD9FF: _cairo_toy_font_face_create_impl_face
(cairo-toy-font-face.c:168)
==28514== by 0x98BD9FF: _cairo_toy_font_face_init
(cairo-toy-font-face.c:197)
==28514== by 0x98BD9FF: cairo_toy_font_face_create
(cairo-toy-font-face.c:321)
==28514== by 0x986E14F: _cairo_gstate_ensure_font_face (cairo-gstate.c:1828)
==28514== by 0x986E14F: _cairo_gstate_ensure_scaled_font
(cairo-gstate.c:1850)
==28514== by 0x9870E40: _cairo_gstate_get_scaled_font (cairo-gstate.c:1733)
==28514== by 0x986973F: _cairo_default_context_get_scaled_font
(cairo-default-context.c:1282)
==28514== by 0x9863A02: cairo_show_text (cairo.c:3218)
Cairo 1.14.10. It looks like there's a FcPattern being leaked.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>