Hello community,

here is the log from the commit of package gtk-xfce-engine for openSUSE:Factory 
checked in at 2012-08-24 13:51:34
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gtk-xfce-engine (Old)
 and      /work/SRC/openSUSE:Factory/.gtk-xfce-engine.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gtk-xfce-engine", Maintainer is "xfce-maintain...@suse.de"

Changes:
--------
--- /work/SRC/openSUSE:Factory/gtk-xfce-engine/gtk-xfce-engine.changes  
2012-05-08 11:48:44.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.gtk-xfce-engine.new/gtk-xfce-engine.changes     
2012-08-24 13:51:37.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Aug 24 09:12:18 UTC 2012 - g...@opensuse.org
+
+- added gtk-xfce-engine-fix-memory-leak.patch which fixes a memory
+  leak in the cairo drawing code (bnc#771292)
+
+-------------------------------------------------------------------

New:
----
  gtk-xfce-engine-fix-memory-leak.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gtk-xfce-engine.spec ++++++
--- /var/tmp/diff_new_pack.Xt6y0q/_old  2012-08-24 13:51:38.000000000 +0200
+++ /var/tmp/diff_new_pack.Xt6y0q/_new  2012-08-24 13:51:38.000000000 +0200
@@ -25,6 +25,8 @@
 Url:            http://www.xfce.org/
 Source0:        
http://archive.xfce.org/src/xfce/gtk-xfce-engine/3.0/%{name}-%{version}.tar.bz2
 Source1:        baselibs.conf
+# PATCH-FIX-UPSTREAM gtk-xfce-engine-fix-memory-leak.patch bnc#771292 bxo#8521 
g...@opensuse.org -- Fixes a memory leak in the cairo drawing code
+Patch0:         gtk-xfce-engine-fix-memory-leak.patch
 BuildRequires:  fdupes
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gmodule-2.0)
@@ -38,6 +40,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --disable-static

++++++ gtk-xfce-engine-fix-memory-leak.patch ++++++
>From e4e58fc20410aa8779fcf3dc42b6f3668c769a83 Mon Sep 17 00:00:00 2001
From: Landry Breuil <lan...@xfce.org>
Date: Wed, 22 Aug 2012 09:34:45 +0200
Subject: [PATCH] Don't leak a graduent pattern at each draw (bug #8521)

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

diff --git a/gtk-2.0/gradient_draw.c b/gtk-2.0/gradient_draw.c
index 02deb88..1cfe8ee 100644
--- a/gtk-2.0/gradient_draw.c
+++ b/gtk-2.0/gradient_draw.c
@@ -278,4 +278,5 @@ 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);
 }
-- 
1.7.6

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to