# HG changeset patch # User Chong Yidong # Date 1229182788 0 # Node ID b8012399df7358ee59f4bcfa8a1907421b5334ce # Parent aed8ba717c949e023ceb5dccf2cfff90872ea042 (free_font_driver_list): Implement missing function. diff -r aed8ba717c94 -r b8012399df73 src/font.c --- a/src/font.c Sat Dec 13 15:39:39 2008 +0000 +++ b/src/font.c Sat Dec 13 15:39:48 2008 +0000 @@ -3506,6 +3506,20 @@ num_font_drivers++; } +void +free_font_driver_list (f) + FRAME_PTR f; +{ + struct font_driver_list *list, *next; + + for (list = f->font_driver_list; list; list = next) + { + next = list->next; + xfree (list); + } + f->font_driver_list = NULL; +} + /* Make the frame F use font backends listed in NEW_DRIVERS (list of symbols, e.g. xft, x). If NEW_DRIVERS is t, make F use all