mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-13 08:42:59 +00:00
[fontations] Fix life-cycle double-free
This commit is contained in:
parent
e054db4ae2
commit
c4932fa57a
1 changed files with 0 additions and 4 deletions
|
@ -376,8 +376,4 @@ pub extern "C" fn hb_fontations_font_set_funcs(font: *mut hb_font_t) {
|
|||
unsafe {
|
||||
hb_font_set_funcs(font, ffuncs, data_ptr, Some(_hb_fontations_data_destroy));
|
||||
}
|
||||
|
||||
unsafe {
|
||||
hb_font_funcs_destroy(ffuncs);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue