mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-30 15:31:34 +00:00
toolbar: don't leak the sibling path
This commit is contained in:
parent
34d85f04e5
commit
668790ddee
@ -3137,6 +3137,12 @@ gtk_toolbar_finalize (GObject *object)
|
||||
if (priv->arrow_button)
|
||||
gtk_widget_unparent (priv->arrow_button);
|
||||
|
||||
if (priv->sibling_path != NULL)
|
||||
{
|
||||
gtk_widget_path_unref (priv->sibling_path);
|
||||
priv->sibling_path = NULL;
|
||||
}
|
||||
|
||||
for (list = priv->content; list != NULL; list = list->next)
|
||||
{
|
||||
ToolbarContent *content = list->data;
|
||||
|
Loading…
Reference in New Issue
Block a user