aboutsummaryrefslogtreecommitdiff
path: root/pixman/test
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2010-10-28 20:54:11 +0000
committermarha <marha@users.sourceforge.net>2010-10-28 20:54:11 +0000
commit3eee9271d2345cb54c1778629ba3cf3b804c2671 (patch)
treec2144ed2e677e5cec4c5b8c50dd54a86e4692b4d /pixman/test
parent16436e149bb71adf8c769a50f45291c569632a66 (diff)
downloadvcxsrv-3eee9271d2345cb54c1778629ba3cf3b804c2671.tar.gz
vcxsrv-3eee9271d2345cb54c1778629ba3cf3b804c2671.tar.bz2
vcxsrv-3eee9271d2345cb54c1778629ba3cf3b804c2671.zip
libXext libX11 libXdmcp libXinerama pixman update 28/10/2010
Diffstat (limited to 'pixman/test')
-rw-r--r--pixman/test/alphamap.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pixman/test/alphamap.c b/pixman/test/alphamap.c
index 6d150cf69..ba3130e5d 100644
--- a/pixman/test/alphamap.c
+++ b/pixman/test/alphamap.c
@@ -82,6 +82,7 @@ create_image (pixman_format_code_t format, pixman_format_code_t alpha_format,
pixman_image_set_alpha_map (image, alpha,
alpha_origin_x, alpha_origin_y);
+ pixman_image_unref (alpha);
}
return image;
@@ -217,6 +218,10 @@ run_test (int s, int d, int sa, int da, int soff, int doff)
}
}
+ pixman_image_set_alpha_map (src, NULL, 0, 0);
+ pixman_image_set_alpha_map (dst, NULL, 0, 0);
+ pixman_image_set_alpha_map (orig_dst, NULL, 0, 0);
+
pixman_image_unref (src);
pixman_image_unref (dst);
pixman_image_unref (orig_dst);