mirror of
https://github.com/darlinghq/darling-cocotron.git
synced 2024-11-23 04:00:00 +00:00
Correct leak in internal NSTextView method.
This commit is contained in:
parent
d6c5c1c8b3
commit
bce2767698
@ -164,6 +164,7 @@ NSString *const NSAllRomanInputSourcesLocaleIdentifier =
|
||||
[_typingAttributes release];
|
||||
_typingAttributes = typingAttributes;
|
||||
|
||||
[_defaultParagraphStyle release];
|
||||
if ([typingAttributes objectForKey: NSParagraphStyleAttributeName]) {
|
||||
_defaultParagraphStyle = [[typingAttributes
|
||||
objectForKey: NSParagraphStyleAttributeName] copy];
|
||||
|
Loading…
Reference in New Issue
Block a user