[webkit-changes] [WebKit/WebKit] e40913: Fix memory leaks in _WKApplicationManifestIcon and...

Ryosuke Niwa noreply at github.com
Tue Mar 25 00:54:29 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e409135bcd51030b7b04873b1990e58f7cbcfc43
      https://github.com/WebKit/WebKit/commit/e409135bcd51030b7b04873b1990e58f7cbcfc43
  Author: Ryosuke Niwa <rniwa at webkit.org>
  Date:   2025-03-25 (Tue, 25 Mar 2025)

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

  Log Message:
  -----------
  Fix memory leaks in _WKApplicationManifestIcon and _WKApplicationManifestShortcut
https://bugs.webkit.org/show_bug.cgi?id=290367

Reviewed by David Kilzer and Aditya Keerthi.

Simply call [super init] instead of alloc'ing another object.

* Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifest.mm:
(-[_WKApplicationManifestIcon initWithCoreIcon:]):
(-[_WKApplicationManifestShortcut initWithCoreShortcut:]):

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



To unsubscribe from these emails, change your notification settings at https://github.com/WebKit/WebKit/settings/notifications


More information about the webkit-changes mailing list