[gtk+] Fix a memory leak in GtkCSSProvider
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Fix a memory leak in GtkCSSProvider
- Date: Sat, 5 Feb 2011 02:14:36 +0000 (UTC)
commit 3c1ff82b21807825ba73a5f3e88a299e5cbf74e3
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Feb 4 21:13:56 2011 -0500
Fix a memory leak in GtkCSSProvider
Found by Felix Riemann
https://bugzilla.gnome.org/show_bug.cgi?id=641558
gtk/gtkcssprovider.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 0c94a45..d958947 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -4232,6 +4232,8 @@ gtk_css_provider_get_named (const gchar *name,
}
else
g_hash_table_insert (themes, g_strdup (key), provider);
+
+ g_free (path);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]