[webkit-changes] [WebKit/WebKit] d57e03: REGRESSION (244460 at main): Stop using RetainPtr<>::...

Commit Queue noreply at github.com
Mon May 8 01:21:50 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d57e039ea7119851ddf2cb8b19c55bbd62b9187d
      https://github.com/WebKit/WebKit/commit/d57e039ea7119851ddf2cb8b19c55bbd62b9187d
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2023-05-08 (Mon, 08 May 2023)

  Changed paths:
    M Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifest.mm

  Log Message:
  -----------
  REGRESSION (244460 at main): Stop using RetainPtr<>::autorelease() in createNSArray() lambda
https://bugs.webkit.org/show_bug.cgi?id=256438
<rdar://109022629>

Reviewed by Chris Dumez.

This prevents these objects from being put into an
autoreleasePool, and may fix a false-postive leak reported by
clang static analyzer.

* Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifest.mm:
(-[_WKApplicationManifest icons]):
- Remove use of RetainPtr<>::autorelease() in createNSArray().

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




More information about the webkit-changes mailing list