diff options
Diffstat (limited to 'src/font.cpp')
| -rw-r--r-- | src/font.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/font.cpp b/src/font.cpp index 3e6f3bc..004e9f8 100644 --- a/src/font.cpp +++ b/src/font.cpp @@ -1018,6 +1018,8 @@ void FontType_Unload(FontTypeHandle font_type_handle) { ft->title.length = 0; } new (ft) FontType{}; + + pk_bkt_arr_free_handle(&ftd.fonts, font_type_handle); } void FontType_cstr_to_unicode(const FontType &ft, pk_arr_t<uint32_t> &arr, const pk_cstr &str) { |
