Mercurial > hg > xemacs-beta
comparison src/device-x.c @ 4548:b0d2ace4aed1
Call XFreeFontPath appropriately in #'x-get-font-path.
src/ChangeLog addition:
2008-12-30 Aidan Kehoe <kehoea@parhasard.net>
* device-x.c (Fx_get_font_path):
Free the font path once we're finished with it.
author | Aidan Kehoe <kehoea@parhasard.net> |
---|---|
date | Tue, 30 Dec 2008 20:01:14 +0000 |
parents | 726060ee587c |
children | 8f1ee2d15784 |
comparison
equal
deleted
inserted
replaced
4547:ab9e8f0fb295 | 4548:b0d2ace4aed1 |
---|---|
2058 while (ndirs_return--) | 2058 while (ndirs_return--) |
2059 font_path = Fcons (build_ext_string (directories[ndirs_return], | 2059 font_path = Fcons (build_ext_string (directories[ndirs_return], |
2060 Qfile_name), | 2060 Qfile_name), |
2061 font_path); | 2061 font_path); |
2062 | 2062 |
2063 XFreeFontPath ((char **)directories); | |
2064 | |
2063 return font_path; | 2065 return font_path; |
2064 } | 2066 } |
2065 | 2067 |
2066 DEFUN ("x-set-font-path", Fx_set_font_path, 1, 2, 0, /* | 2068 DEFUN ("x-set-font-path", Fx_set_font_path, 1, 2, 0, /* |
2067 Set the X Server's font path to FONT-PATH. | 2069 Set the X Server's font path to FONT-PATH. |