diff --git a/gtk/inspector/css-editor.c b/gtk/inspector/css-editor.c index d5547841f0..bdfe762edd 100644 --- a/gtk/inspector/css-editor.c +++ b/gtk/inspector/css-editor.c @@ -308,6 +308,9 @@ text_changed (GtkTextBuffer *buffer, g_source_remove (ce->priv->timeout); ce->priv->timeout = g_timeout_add (100, update_timeout, ce); + + g_list_free_full (ce->priv->errors, css_error_free); + ce->priv->errors = NULL; } static void