diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ftfont.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ftfont.c b/src/ftfont.c index b37b404c5ef..41d99dffeb6 100644 --- a/src/ftfont.c +++ b/src/ftfont.c | |||
| @@ -1315,6 +1315,10 @@ ftfont_open (struct frame *f, Lisp_Object entity, int pixel_size) | |||
| 1315 | static void | 1315 | static void |
| 1316 | ftfont_close (struct font *font) | 1316 | ftfont_close (struct font *font) |
| 1317 | { | 1317 | { |
| 1318 | /* FIXME: Although this function can be called while garbage-collecting, | ||
| 1319 | the function assumes that Lisp data structures are properly-formed. | ||
| 1320 | This invalid assumption can lead to core dumps (Bug#20890). */ | ||
| 1321 | |||
| 1318 | struct ftfont_info *ftfont_info = (struct ftfont_info *) font; | 1322 | struct ftfont_info *ftfont_info = (struct ftfont_info *) font; |
| 1319 | Lisp_Object val, cache; | 1323 | Lisp_Object val, cache; |
| 1320 | 1324 | ||