]> git.eshelyaron.com Git - emacs.git/commitdiff
(xfont_list_pattern): Free names returned from XListFonts.
authorKenichi Handa <handa@m17n.org>
Fri, 23 May 2008 01:31:32 +0000 (01:31 +0000)
committerKenichi Handa <handa@m17n.org>
Fri, 23 May 2008 01:31:32 +0000 (01:31 +0000)
src/xfont.c

index 8483ae50792a67471205cdc129aaccc8f06fbc8f..f84312413ca48c53b0cc9d5fff33ae94e3b8b4b9 100644 (file)
@@ -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 ();