dep/imgui: Fix memory leak in imgui_freetype

Only once on font load, but still a leak.
pull/3634/head
Stenzek 3 months ago
parent e9966cfed0
commit b4900c90ed
No known key found for this signature in database

@ -198,6 +198,8 @@ bool ImGui_ImplFreeType_FontSrcData::InitFont(FT_Library ft_library, ImFontConfi
VarDesignCoords = nullptr;
VarDesignNumAxis = 0;
}
FT_Done_MM_Var(ft_library, mmvar);
}
// Convert to FreeType flags (NB: Bold and Oblique are processed separately)

Loading…
Cancel
Save