mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
613038acab
commit
0909e1617e
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user