st-widget: Fix paint state leak
https://bugzilla.gnome.org/show_bug.cgi?id=703160
This commit is contained in:
parent
f7568b69d4
commit
1d95b317ba
@ -385,7 +385,7 @@ st_widget_finalize (GObject *gobject)
|
|||||||
g_free (priv->inline_style);
|
g_free (priv->inline_style);
|
||||||
|
|
||||||
for (i = 0; i < G_N_ELEMENTS (priv->paint_states); i++)
|
for (i = 0; i < G_N_ELEMENTS (priv->paint_states); i++)
|
||||||
st_theme_node_paint_state_init (&priv->paint_states[i]);
|
st_theme_node_paint_state_free (&priv->paint_states[i]);
|
||||||
|
|
||||||
G_OBJECT_CLASS (st_widget_parent_class)->finalize (gobject);
|
G_OBJECT_CLASS (st_widget_parent_class)->finalize (gobject);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user