[gtk+] gtk_css_provider_get_named: don't leak subpath (#636777)
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtk_css_provider_get_named: don't leak subpath (#636777)
- Date: Thu, 9 Dec 2010 02:13:22 +0000 (UTC)
commit 107cebe546cb53c0e5511fc431b88eadf34092c5
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Dec 8 15:13:21 2010 +0100
gtk_css_provider_get_named: don't leak subpath (#636777)
gtk/gtkcssprovider.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcssprovider.c b/gtk/gtkcssprovider.c
index 5faa076..0e1f8af 100644
--- a/gtk/gtkcssprovider.c
+++ b/gtk/gtkcssprovider.c
@@ -3856,6 +3856,8 @@ gtk_css_provider_get_named (const gchar *name,
}
}
+ g_free (subpath);
+
if (path)
{
GError *error = NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]