summaryrefslogtreecommitdiff
path: root/src/xfont.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2008-05-23 01:31:32 +0000
committerKenichi Handa <handa@m17n.org>2008-05-23 01:31:32 +0000
commit019e13ef750fcf6532da1e9a019036eea94e38a8 (patch)
tree30bc4b28cedd2a1822f118316c7240be22b24507 /src/xfont.c
parent577eba225c6d29666a8b7a3843273b9afbf857a3 (diff)
downloademacs-019e13ef750fcf6532da1e9a019036eea94e38a8.tar.gz
(xfont_list_pattern): Free names returned from XListFonts.
Diffstat (limited to 'src/xfont.c')
-rw-r--r--src/xfont.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xfont.c b/src/xfont.c
index 8483ae50792..f84312413ca 100644
--- a/src/xfont.c
+++ b/src/xfont.c
@@ -290,6 +290,7 @@ xfont_list_pattern (frame, display, pattern)
|| XINT (AREF (entity, FONT_AVGWIDTH_INDEX)) > 0))
list = Fcons (entity, list);
}
+ XFreeFontNames (names);
}
x_uncatch_errors ();