Updating branch refs/heads/master
         to 964d4a05896bcb6dfbeec34dccb77e4f381363f1 (commit)
       from c1c38420c532808e92089426ea301fe4ad8441ac (commit)

commit 964d4a05896bcb6dfbeec34dccb77e4f381363f1
Author: Landry Breuil <lan...@xfce.org>
Date:   Wed Aug 22 09:34:45 2012 +0200

    Don't leak a graduent pattern at each draw (bug #8521)

 gtk-2.0/gradient_draw.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/gtk-2.0/gradient_draw.c b/gtk-2.0/gradient_draw.c
index 02deb88..37af559 100644
--- a/gtk-2.0/gradient_draw.c
+++ b/gtk-2.0/gradient_draw.c
@@ -278,4 +278,6 @@ void gradient_draw_shaded(cairo_t *cr, gint x, gint y, gint 
width, gint height,
     cairo_fill (cr);
 
     cairo_restore(cr);
+
+    cairo_pattern_destroy(gradient);
 }
_______________________________________________
Xfce4-commits mailing list
Xfce4-commits@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to