]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/pango-select.cc
Run `make grand-replace'.
[lilypond.git] / lily / pango-select.cc
index 5d032f252bcaecbd5ea890d5485e470968e45855..4637fa26b692eeb5a7c366e71367990bb28b8475 100644 (file)
@@ -3,7 +3,7 @@
 
   source file of the GNU LilyPond music typesetter
 
-  (c) 2004--2006 Han-Wen Nienhuys <hanwen@xs4all.nl>
+  (c) 2004--2008 Han-Wen Nienhuys <hanwen@xs4all.nl>
 */
 
 #include "dimensions.hh"
@@ -58,7 +58,8 @@ select_pango_font (Output_def *layout, SCM chain)
   char *str = pango_font_description_to_string (pfd);
   SCM scm_str = scm_from_locale_string (str);
   g_free (str);
-
+  pango_font_description_free (pfd);
+  
   return find_pango_font (layout, scm_str, 1.0);
 }