[webkit-changes] [WebKit/WebKit] 6fa35a: REGRESSION (260800 at main): attributedStringAppendWr...
Commit Queue
noreply at github.com
Fri May 5 07:18:57 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 6fa35aff2f3620effbd0aa62a9c1d7b05870ae81
https://github.com/WebKit/WebKit/commit/6fa35aff2f3620effbd0aa62a9c1d7b05870ae81
Author: David Kilzer <ddkilzer at apple.com>
Date: 2023-05-05 (Fri, 05 May 2023)
Changed paths:
M Source/WebCore/accessibility/cocoa/AccessibilityObjectCocoa.mm
Log Message:
-----------
REGRESSION (260800 at main): attributedStringAppendWrapper() leaks an NSMutableAttributedString
https://bugs.webkit.org/show_bug.cgi?id=256347
<rdar://108929102>
Reviewed by Wenson Hsieh.
* Source/WebCore/accessibility/cocoa/AccessibilityObjectCocoa.mm:
(WebCore::attributedStringAppendWrapper):
- Use adoptNS().get() to fix the leak.
Canonical link: https://commits.webkit.org/263716@main
More information about the webkit-changes
mailing list