[webkit-changes] [WebKit/WebKit] bdf4e7: -[_WKApplicationManifest initWithCoreShortcut:] le...

Commit Queue noreply at github.com
Sun Jan 28 09:14:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bdf4e72cacfce658c6b7571275ed2fe490ee2ff6
      https://github.com/WebKit/WebKit/commit/bdf4e72cacfce658c6b7571275ed2fe490ee2ff6
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2024-01-28 (Sun, 28 Jan 2024)

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

  Log Message:
  -----------
  -[_WKApplicationManifest initWithCoreShortcut:] leaks _WKApplicationManifestIcon objects
https://bugs.webkit.org/show_bug.cgi?id=268253
<rdar://121808288>

Reviewed by Darin Adler.

* Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifest.mm:
(-[_WKApplicationManifestShortcut initWithCoreShortcut:]):
- Use adoptNS() for the lambda return value to fix the leaks.

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




More information about the webkit-changes mailing list