Plug more memory leaks

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20005 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Phil Longstaff 2010-12-30 15:54:45 +00:00
parent 613038acab
commit 0909e1617e

View File

@ -206,6 +206,7 @@ gnc_get_default_report_font_family(void)
top_list = gtk_window_list_toplevels(); top_list = gtk_window_list_toplevels();
top_widget = GTK_WIDGET(top_list->data); top_widget = GTK_WIDGET(top_list->data);
g_list_free(top_list);
top_widget_style = gtk_rc_get_style(top_widget); top_widget_style = gtk_rc_get_style(top_widget);
default_font_family = pango_font_description_get_family(top_widget_style->font_desc); default_font_family = pango_font_description_get_family(top_widget_style->font_desc);