Closed Bug 1433402 Opened 2 years ago Closed 2 years ago

Use the specific FT_Done_MM_Var function if available (on sufficiently recent freetype) to release the struct returned by FT_Get_MM_Var

Categories

(Core :: Graphics: Text, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla60
Tracking Status
firefox60 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

Details

Attachments

(1 file)

The latest freetype version has added a specific function FT_Done_MM_Var to release the struct returned by FT_Get_MM_Var, replacing the previously-documented use of the standard free() function. So we should use the new API if available.
Attachment #8945734 - Flags: review?(lsalzman) → review?(jmuizelaar)
Attachment #8945734 - Flags: review?(jmuizelaar) → review+
Pushed by jkew@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/3431bb172f28
Use the specific FT_Done_MM_Var function if available (on sufficiently recent freetype) to release the struct returned by FT_Get_MM_Var. r=jrmuizel
https://hg.mozilla.org/mozilla-central/rev/3431bb172f28
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
You need to log in before you can comment on or make changes to this bug.