void BLF_exit(void) { FontBLF *font; int i; for (i= 0; i < global_font_num; i++) { font= global_font[i]; if (font) blf_font_free(font); } blf_font_exit(); }
void BLF_exit(void) { FontBLF *font; int i; for (i = 0; i < BLF_MAX_FONT; i++) { font = global_font[i]; if (font) { blf_font_free(font); global_font[i] = NULL; } } blf_font_exit(); }