Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: de415e8be6193676088cc4fd794d13e5b96c5db2
      
https://github.com/WebKit/WebKit/commit/de415e8be6193676088cc4fd794d13e5b96c5db2
  Author: David Kilzer <[email protected]>
  Date:   2023-06-14 (Wed, 14 Jun 2023)

  Changed paths:
    M Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm

  Log Message:
  -----------
  Leak of MTLSharedTextureHandle in GraphicsContextGLCocoa.mm
https://bugs.webkit.org/show_bug.cgi?id=258090
<rdar://110796945>

Reviewed by Dan Glastonbury.

Add back use of adoptNS() when creating MTLSharedTextureHandle objects
to fix the leaks.  This was accidentally removed by 264712@main.

* Source/WebCore/platform/graphics/cocoa/GraphicsContextGLCocoa.mm:
(WebCore::GraphicsContextGLCocoa::createAndBindExternalImage):

Canonical link: https://commits.webkit.org/265174@main


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to