[webkit-changes] [WebKit/WebKit] fc81fe: REGRESSION (244038 at main): toPKShippingMethods() ca...

Commit Queue noreply at github.com
Mon May 8 01:27:06 PDT 2023


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

  Changed paths:
    M Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm

  Log Message:
  -----------
  REGRESSION (244038 at main): toPKShippingMethods() causes leaks by returning retained object unexpectedly
https://bugs.webkit.org/show_bug.cgi?id=256439
<rdar://109023223>

Reviewed by Wenson Hsieh and Devin Rousso.

* Source/WebKit/Shared/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm:
(WebKit::toPKShippingMethods):
- Adopt and autorelease the return value to fix the leak.

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




More information about the webkit-changes mailing list