mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 14:30:15 +00:00
widget path: Don't leak sibling paths
This commit is contained in:
parent
28c9f3d5da
commit
ee8eb91523
@ -217,6 +217,8 @@ gtk_widget_path_unref (GtkWidgetPath *path)
|
||||
elem = &g_array_index (path->elems, GtkPathElement, i);
|
||||
|
||||
gtk_css_node_declaration_unref (elem->decl);
|
||||
if (elem->siblings)
|
||||
gtk_widget_path_unref (elem->siblings);
|
||||
}
|
||||
|
||||
g_array_free (path->elems, TRUE);
|
||||
|
Loading…
Reference in New Issue
Block a user