From 8568b93d6c2a74b97640f0997bd6b80d26195204 Mon Sep 17 00:00:00 2001 From: Han-Wen Nienhuys Date: Thu, 18 Jan 2007 03:04:13 +0100 Subject: [PATCH] plug small leak. --- lily/pango-select.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- 2.39.5