[maemo-commits] [maemo-commits] r15463 - in projects/haf/trunk/libcairo: debian pixman/src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Apr 22 13:34:05 EEST 2008
Author: mitch
Date: 2008-04-22 13:34:03 +0300 (Tue, 22 Apr 2008)
New Revision: 15463

Modified:
   projects/haf/trunk/libcairo/debian/changelog
   projects/haf/trunk/libcairo/pixman/src/pixregion.c
Log:
libcairo (1.4.10-0osso3) unstable; urgency=low

  * Fixes: NB#84085: GTK progressbar is leaking memory (when text is
    shown on it)
    - pixman/src/pixregion.c (pixman_rect_alloc): make sure the
      allocated memory doesn't look like the static empty region
      (which will never be freed).

 -- Michael Natterer <mitch at imendio.com>  Tue, 22 Apr 2008 12:24:00 +0200



Modified: projects/haf/trunk/libcairo/debian/changelog
===================================================================
--- projects/haf/trunk/libcairo/debian/changelog	2008-04-21 15:30:28 UTC (rev 15462)
+++ projects/haf/trunk/libcairo/debian/changelog	2008-04-22 10:34:03 UTC (rev 15463)
@@ -1,3 +1,13 @@
+libcairo (1.4.10-0osso3) unstable; urgency=low
+
+  * Fixes: NB#84085: GTK progressbar is leaking memory (when text is
+    shown on it)
+    - pixman/src/pixregion.c (pixman_rect_alloc): make sure the
+      allocated memory doesn't look like the static empty region
+      (which will never be freed).
+
+ -- Michael Natterer <mitch at imendio.com>  Tue, 22 Apr 2008 12:24:00 +0200
+
 libcairo (1.4.10-0osso2.cs2007q3) unstable; urgency=low
 
   * Recompilation is needed

Modified: projects/haf/trunk/libcairo/pixman/src/pixregion.c
===================================================================
--- projects/haf/trunk/libcairo/pixman/src/pixregion.c	2008-04-21 15:30:28 UTC (rev 15462)
+++ projects/haf/trunk/libcairo/pixman/src/pixregion.c	2008-04-22 10:34:03 UTC (rev 15463)
@@ -384,6 +384,7 @@
     }
     else if (!region->data->size)
     {
+        n++;
 	region->data = allocData(n);
 	if (!region->data)
 	    return pixman_break (region);


More information about the maemo-commits mailing list