Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f04695c4dfda93fa215e68a6ca881c1c9f132658
      
https://github.com/WebKit/WebKit/commit/f04695c4dfda93fa215e68a6ca881c1c9f132658
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2025-06-18 (Wed, 18 Jun 2025)

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

  Log Message:
  -----------
  memory leaks in com.apple.WebKit.GPU
https://bugs.webkit.org/show_bug.cgi?id=294661
rdar://153503700

Reviewed by Youenn Fablet.

If the code returned early (non visionOS), then the CMVideoFormatDescriptionRef
create would leak. We now adopt the object immediately and use move
semantics to make it clearer and avoid fuure issues.

* Source/WebCore/platform/graphics/cocoa/WebCoreDecompressionSession.mm:
(WebCore::copyDescriptionExtensionValuesIfNeeded):
(WebCore::handleDecompressionOutput):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to