<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [Win][Direct2D] Correct some memory leaks and other minor bugs"
href="https://bugs.webkit.org/show_bug.cgi?id=163769#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED FIXED - [Win][Direct2D] Correct some memory leaks and other minor bugs"
href="https://bugs.webkit.org/show_bug.cgi?id=163769">bug 163769</a>
from <span class="vcard"><a class="email" href="mailto:simon.fraser@apple.com" title="Simon Fraser (smfr) <simon.fraser@apple.com>"> <span class="fn">Simon Fraser (smfr)</span></a>
</span></b>
<pre>Comment on <span class=""><a href="attachment.cgi?id=292301&action=diff" name="attach_292301" title="Patch">attachment 292301</a> <a href="attachment.cgi?id=292301&action=edit" title="Patch">[details]</a></span>
Patch
View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=292301&action=review">https://bugs.webkit.org/attachment.cgi?id=292301&action=review</a>
<span class="quote">> Source/WebCore/platform/graphics/win/GradientDirect2D.cpp:72
> + if (m_gradient) {
> + m_gradient->Release();
> + m_gradient = nullptr;
> + }</span >
Can we use smart pointers?
<span class="quote">> Source/WebCore/platform/graphics/win/PathDirect2D.cpp:74
> + if (m_path)
> + m_path->Release();</span >
Can we use a smart pointer?</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>