changeset 95227:6df485632f28

(xfont_list_pattern): Free names returned from XListFonts.
author Kenichi Handa <handa@m17n.org>
date Fri, 23 May 2008 01:31:32 +0000
parents d303eeac9f0e
children 451f4028c096
files src/xfont.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/xfont.c	Thu May 22 22:12:25 2008 +0000
+++ b/src/xfont.c	Fri May 23 01:31:32 2008 +0000
@@ -290,6 +290,7 @@
 		  || XINT (AREF (entity, FONT_AVGWIDTH_INDEX)) > 0))
 	    list = Fcons (entity, list);
 	}
+      XFreeFontNames (names);
     }
 
   x_uncatch_errors ();