<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&#64;apple.com" title="Simon Fraser (smfr) &lt;simon.fraser&#64;apple.com&gt;"> <span class="fn">Simon Fraser (smfr)</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=292301&amp;action=diff" name="attach_292301" title="Patch">attachment 292301</a> <a href="attachment.cgi?id=292301&amp;action=edit" title="Patch">[details]</a></span>
Patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=292301&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=292301&amp;action=review</a>

<span class="quote">&gt; Source/WebCore/platform/graphics/win/GradientDirect2D.cpp:72
&gt; +    if (m_gradient) {
&gt; +        m_gradient-&gt;Release();
&gt; +        m_gradient = nullptr;
&gt; +    }</span >

Can we use smart pointers?

<span class="quote">&gt; Source/WebCore/platform/graphics/win/PathDirect2D.cpp:74
&gt; +    if (m_path)
&gt; +        m_path-&gt;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>