<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Scrolling font list with previews enabled makes LO crash ( steps in comment 36 )"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=106265#c48">Comment # 48</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Scrolling font list with previews enabled makes LO crash ( steps in comment 36 )"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=106265">bug 106265</a>
from <span class="vcard"><a class="email" href="mailto:noelgrandin@gmail.com" title="Noel Grandin <noelgrandin@gmail.com>"> <span class="fn">Noel Grandin</span></a>
</span></b>
<pre>@Aron I think you are on to something. That function has several return paths
where it forgets to delete/deallocate hNewDC and hNonAntialiasedFont.
Would probably be best to wrap both of them in a RAII style delete on return
thing.
The comphelper/scopeguard.hxx class is made for that.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>