Bug 256347 - REGRESSION (260800@main): attributedStringAppendWrapper() leaks an NSMutableAttributedString
Summary: REGRESSION (260800@main): attributedStringAppendWrapper() leaks an NSMutableA...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Other
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Kilzer (:ddkilzer)
URL:
Keywords: InRadar
Depends on: 252193
Blocks:
  Show dependency treegraph
 
Reported: 2023-05-04 20:10 PDT by David Kilzer (:ddkilzer)
Modified: 2023-05-05 07:18 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.