mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
dep/imgui: Fix memory leak in imgui_freetype
Only once on font load, but still a leak.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user