REGRESSION (r247566): Leak of UICTFontDescriptor in WebCore::FontDatabase::InstalledF...
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Sep 2019 11:30:16 +0000 (11:30 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 18 Sep 2019 11:30:16 +0000 (11:30 +0000)
commit839ce0ff39fbe9f519e5deba249eb727bca0ef50
treef41f7387d7adf3e87de4f3ff20e27f921bce07db
parentb7928a5c616dd548d7bf6950e4c98391deed5945
REGRESSION (r247566): Leak of UICTFontDescriptor in WebCore::FontDatabase::InstalledFont::InstalledFont()
<https://webkit.org/b/201893>
<rdar://problem/55464115>

Reviewed by Brent Fulgham.

* platform/graphics/cocoa/FontCacheCoreText.cpp:
(WebCore::FontDatabase::InstalledFont::InstalledFont): Use
adoptCF() to fix the leak.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@250031 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/cocoa/FontCacheCoreText.cpp