Fix for issue #344 : New/Delete Type Mismatch on Windows

This commit is contained in:
ManoloFLTK 2021-12-19 19:49:39 +01:00
parent 4d934e003a
commit 47164bf954
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}