checkbutton: Don't leak the action helper

This commit is contained in:
Matthias Clasen 2020-09-01 15:24:34 -04:00
parent a3030d3a62
commit 1c0bf2604c

View File

@ -111,6 +111,8 @@ gtk_check_button_dispose (GObject *object)
{
GtkCheckButtonPrivate *priv = gtk_check_button_get_instance_private (GTK_CHECK_BUTTON (object));
g_clear_object (&priv->action_helper);
g_clear_pointer (&priv->indicator_widget, gtk_widget_unparent);
g_clear_pointer (&priv->label_widget, gtk_widget_unparent);