diff src/device-x.c @ 4548:b0d2ace4aed1

Call XFreeFontPath appropriately in #'x-get-font-path. src/ChangeLog addition: 2008-12-30 Aidan Kehoe <kehoea@parhasard.net> * device-x.c (Fx_get_font_path): Free the font path once we're finished with it.
author Aidan Kehoe <kehoea@parhasard.net>
date Tue, 30 Dec 2008 20:01:14 +0000
parents 726060ee587c
children 8f1ee2d15784
line wrap: on
line diff
--- a/src/device-x.c	Tue Dec 30 16:09:59 2008 +0000
+++ b/src/device-x.c	Tue Dec 30 20:01:14 2008 +0000
@@ -2060,6 +2060,8 @@
                                            Qfile_name),
 			 font_path);
 
+  XFreeFontPath ((char **)directories);
+
   return font_path;
 }