]> git.donarmstrong.com Git - lilypond.git/commitdiff
plug small leak.
authorHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 18 Jan 2007 02:04:13 +0000 (03:04 +0100)
committerHan-Wen Nienhuys <hanwen@xs4all.nl>
Thu, 18 Jan 2007 02:04:13 +0000 (03:04 +0100)
lily/pango-select.cc

index ed4b7579d4da6fc21f2c4a413ab7d55867d0d65e..bc97f787514a1b98b2d361f0ba597abe388dc158 100644 (file)
@@ -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);
 }