Bug 256347

Summary: REGRESSION (260800@main): attributedStringAppendWrapper() leaks an NSMutableAttributedString
Product: WebKit Reporter: David Kilzer (:ddkilzer) <ddkilzer>
Component: AccessibilityAssignee: David Kilzer (:ddkilzer) <ddkilzer>
Status: RESOLVED FIXED    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on: 252193    
Bug Blocks:    

Description David Kilzer (:ddkilzer) 2023-05-04 20:10:38 PDT
attributedStringAppendWrapper() leaks an NSMutableAttributedString.

Found by clang static analyzer.
Comment 1 Radar WebKit Bug Importer 2023-05-04 20:10:53 PDT
<rdar://problem/108929102>
Comment 2 David Kilzer (:ddkilzer) 2023-05-04 20:11:23 PDT
Caused by:

    AX: Move the AttributedString for TextMarkerRange functionality out of the wrapper into the AXCoreObject implementat
ion so that it can be cached in isolated tree mode.
    https://bugs.webkit.org/show_bug.cgi?id=252193
Comment 3 David Kilzer (:ddkilzer) 2023-05-04 20:17:07 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13477
Comment 4 EWS 2023-05-05 07:18:48 PDT
Committed 263716@main (6fa35aff2f36): <https://commits.webkit.org/263716@main>

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