[gtk+] gtk-demo: Plug a small memleak
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk-demo: Plug a small memleak
- Date: Fri, 14 Sep 2012 00:04:22 +0000 (UTC)
commit 1bf656f25fb18d5a8eed8e2f01b29de0df5342c3
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Sep 13 20:04:38 2012 -0400
gtk-demo: Plug a small memleak
demos/gtk-demo/css_accordion.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/demos/gtk-demo/css_accordion.c b/demos/gtk-demo/css_accordion.c
index 57a35b6..65f084b 100644
--- a/demos/gtk-demo/css_accordion.c
+++ b/demos/gtk-demo/css_accordion.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]