Commit 28f2922a authored by Carlos Soriano's avatar Carlos Soriano Committed by Carlos Soriano

window-slot: Free bindings on dispose

We were leaking them.
parent 0fcb4dfe
......@@ -2955,6 +2955,8 @@ nautilus_window_slot_dispose (GObject *object)
nautilus_window_slot_remove_extra_location_widgets (self);
g_clear_pointer (&priv->searching_binding, g_binding_unbind);
g_clear_pointer (&priv->selection_binding, g_binding_unbind);
if (priv->content_view)
gtk_widget_destroy (GTK_WIDGET (priv->content_view));
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment