From 1d95b317bae84e2e6e52390d393b7db45fbf7a74 Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Thu, 27 Jun 2013 01:27:55 +0100 Subject: [PATCH] st-widget: Fix paint state leak https://bugzilla.gnome.org/show_bug.cgi?id=703160 --- src/st/st-widget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/st/st-widget.c b/src/st/st-widget.c index 9712cb973..4cbe0ec29 100644 --- a/src/st/st-widget.c +++ b/src/st/st-widget.c @@ -385,7 +385,7 @@ st_widget_finalize (GObject *gobject) g_free (priv->inline_style); 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); }