[webkit-changes] [WebKit/WebKit] e6f69b: REGRESSION (251295 at main): -[WKWebInspectorUISaveCo...

Commit Queue noreply at github.com
Mon May 8 01:22:42 PDT 2023


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

  Changed paths:
    M Source/WebKit/UIProcess/Inspector/mac/WebInspectorUIProxyMac.mm

  Log Message:
  -----------
  REGRESSION (251295 at main): -[WKWebInspectorUISaveController initWithSaveDatas:savePanel:] leaks an NSView
https://bugs.webkit.org/show_bug.cgi?id=256440
<rdar://109023427>

Reviewed by Devin Rousso.

* Source/WebKit/UIProcess/Inspector/mac/WebInspectorUIProxyMac.mm:
(-[WKWebInspectorUISaveController initWithSaveDatas:savePanel:]):
- Use adoptNS().get() to fix the leak.

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




More information about the webkit-changes mailing list