mirror of https://github.com/fltk/fltk
Fix for issue #344 : New/Delete Type Mismatch on Windows
This commit is contained in:
parent
4d934e003a
commit
47164bf954
|
@ -2684,7 +2684,7 @@ void fl_free_fonts(void) {
|
|||
s = fl_fonts + i;
|
||||
for (f = s->first; f; f = ff) {
|
||||
ff = f->next;
|
||||
delete f;
|
||||
delete (Fl_GDI_Font_Descriptor*)f;
|
||||
s->first = ff;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue