diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/xfns.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xfns.c b/src/xfns.c index 1f399f5a9c4..3ae6c7c2c60 100644 --- a/src/xfns.c +++ b/src/xfns.c | |||
| @@ -3239,7 +3239,8 @@ even if they match PATTERN and FACE.") | |||
| 3239 | if (thisinfo && same_size_fonts (thisinfo, size_ref)) | 3239 | if (thisinfo && same_size_fonts (thisinfo, size_ref)) |
| 3240 | newlist = Fcons (XCONS (tem)->car, newlist); | 3240 | newlist = Fcons (XCONS (tem)->car, newlist); |
| 3241 | 3241 | ||
| 3242 | XFreeFont (FRAME_X_DISPLAY (f), thisinfo); | 3242 | if (thisinfo != 0) |
| 3243 | XFreeFont (FRAME_X_DISPLAY (f), thisinfo); | ||
| 3243 | } | 3244 | } |
| 3244 | 3245 | ||
| 3245 | UNBLOCK_INPUT; | 3246 | UNBLOCK_INPUT; |