gtk-demo: Plug a small memleak

This commit is contained in:
Matthias Clasen 2012-09-13 20:04:38 -04:00
parent f57778e71e
commit 1bf656f25f

View File

@ -61,6 +61,7 @@ do_css_accordion (GtkWidget *do_widget)
data = g_bytes_get_data (bytes, &data_size); data = g_bytes_get_data (bytes, &data_size);
gtk_css_provider_load_from_data (GTK_CSS_PROVIDER (provider), (gchar *)data, data_size, NULL); gtk_css_provider_load_from_data (GTK_CSS_PROVIDER (provider), (gchar *)data, data_size, NULL);
g_bytes_unref (bytes);
apply_css (window, provider); apply_css (window, provider);
} }