Bug 256440

Summary: REGRESSION (251295@main): -[WKWebInspectorUISaveController initWithSaveDatas:savePanel:] leaks an NSView
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: Web InspectorAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 241214    
Bug Blocks:    

Description David Kilzer (:ddkilzer) 2023-05-07 20:44:10 PDT
-[WKWebInspectorUISaveController initWithSaveDatas:savePanel:] leaks an NSView.

Found by clang static analyzer.

Regressed in:

    Web Inspector: replace the two "Export Audit" and "Export Result" buttons with a single button that has a picker in 
the `NSSavePanel`
    https://bugs.webkit.org/show_bug.cgi?id=241214
    <rdar://problem/76775840>
    <https://commits.webkit.org/251295@main>
Comment 1 Radar WebKit Bug Importer 2023-05-07 20:44:39 PDT
<rdar://problem/109023427>
Comment 2 David Kilzer (:ddkilzer) 2023-05-07 20:48:55 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13561
Comment 3 EWS 2023-05-08 01:22:32 PDT
Committed 263787@main (e6f69b44fce6): <https://commits.webkit.org/263787@main>

Reviewed commits have been landed. Closing PR #13561 and removing active labels.