[gtk+/gtk-3-6] css: Plug a leak in gradient code
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-6] css: Plug a leak in gradient code
- Date: Tue, 6 Nov 2012 16:58:27 +0000 (UTC)
commit e2078e0309d4b9ab8a24f766807ded751142599b
Author: Benjamin Otte <otte redhat com>
Date: Tue Nov 6 17:48:42 2012 +0100
css: Plug a leak in gradient code
gtk/gtkgradient.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkgradient.c b/gtk/gtkgradient.c
index 3c16fca..d6d7132 100644
--- a/gtk/gtkgradient.c
+++ b/gtk/gtkgradient.c
@@ -327,6 +327,7 @@ _gtk_gradient_resolve_full (GtkGradient *gradient,
{
rgba = *_gtk_css_rgba_value_get_rgba (val);
*dependencies = _gtk_css_dependencies_union (*dependencies, stop_deps);
+ _gtk_css_value_unref (val);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]