Commit 2ed98482 authored by Chong Yidong's avatar Chong Yidong
Browse files

(free_font_driver_list): Implement missing function.

parent 3d9bec9a
......@@ -3506,6 +3506,20 @@ register_font_driver (driver, f)
free_font_driver_list (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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment