Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: aba997665b0a337078551520f8fe9703838a9112
      
https://github.com/WebKit/WebKit/commit/aba997665b0a337078551520f8fe9703838a9112
  Author: Aditya Keerthi <akeer...@apple.com>
  Date:   2025-02-07 (Fri, 07 Feb 2025)

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

  Log Message:
  -----------
  Fix memory leak in `_WKWebAuthenticationPanel`
https://bugs.webkit.org/show_bug.cgi?id=287286
rdar://144407149

Reviewed by Wenson Hsieh and Chris Dumez.

* Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanel.mm:
(-[_WKWebAuthenticationPanel transports]):

`_transports` is a `RetainPtr` and `-[NSMutableSet initWithCapacity:]` does not
return an autoreleased object. Use `adoptNS` to avoid leaking memory.

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



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

Reply via email to