mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix memory leak.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2850 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
604ce97964
commit
21aafba279
@ -462,6 +462,8 @@ gnc_set_label_color(GtkWidget *label, double value)
|
||||
style->fg[GTK_STATE_NORMAL] = style->black;
|
||||
|
||||
gtk_widget_set_style(label, style);
|
||||
|
||||
gtk_style_unref(style);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user