Closed Bug 1694151 Opened 3 years ago Closed 3 years ago

Use AutoCFRelease in preference to manual releasing in gfxMacPlatformFontList

Categories

(Core :: Graphics: Text, enhancement)

Unspecified
macOS
enhancement

Tracking

()

RESOLVED FIXED
88 Branch
Tracking Status
firefox88 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

Attachments

(1 file)

There are a bunch of places in gfxMacPlatformFontList where we create temporary CF/CG/CT objects within a method, and then release them before returning. We should use the AutoCFRelease helper for this where appropriate, rather than having to remember to do an explicit release call.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/12273c0f0360
Make more use of AutoCFRelease in gfxMacPlatformFontList. r=lsalzman
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 88 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: