From: Han-Wen Nienhuys Date: Thu, 18 Jan 2007 02:04:13 +0000 (+0100) Subject: plug small leak. X-Git-Tag: release/2.11.13-1~27 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=8568b93d6c2a74b97640f0997bd6b80d26195204;p=lilypond.git plug small leak. --- diff --git a/lily/pango-select.cc b/lily/pango-select.cc index ed4b7579d4..bc97f78751 100644 --- a/lily/pango-select.cc +++ b/lily/pango-select.cc @@ -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); }