mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
gtk-demo: Plug a small memleak
This commit is contained in:
parent
f57778e71e
commit
1bf656f25f
@ -61,6 +61,7 @@ do_css_accordion (GtkWidget *do_widget)
|
||||
data = g_bytes_get_data (bytes, &data_size);
|
||||
|
||||
gtk_css_provider_load_from_data (GTK_CSS_PROVIDER (provider), (gchar *)data, data_size, NULL);
|
||||
g_bytes_unref (bytes);
|
||||
|
||||
apply_css (window, provider);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user