[Webkit-unassigned] [Bug 163769] [Win][Direct2D] Correct some memory leaks and other minor bugs
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Oct 21 10:26:34 PDT 2016
https://bugs.webkit.org/show_bug.cgi?id=163769
--- Comment #3 from Simon Fraser (smfr) <simon.fraser at apple.com> ---
Comment on attachment 292301
--> https://bugs.webkit.org/attachment.cgi?id=292301
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=292301&action=review
> Source/WebCore/platform/graphics/win/GradientDirect2D.cpp:72
> + if (m_gradient) {
> + m_gradient->Release();
> + m_gradient = nullptr;
> + }
Can we use smart pointers?
> Source/WebCore/platform/graphics/win/PathDirect2D.cpp:74
> + if (m_path)
> + m_path->Release();
Can we use a smart pointer?
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161021/72c67229/attachment.html>
More information about the webkit-unassigned
mailing list