Index: trunk/psLib/test/types/tap_psPixels_all.c
===================================================================
--- trunk/psLib/test/types/tap_psPixels_all.c	(revision 13127)
+++ trunk/psLib/test/types/tap_psPixels_all.c	(revision 13128)
@@ -21,5 +21,5 @@
 int main(void)
 {
-    plan_tests(48);
+    plan_tests(49);
 
     //Tests for psPixels Functions
@@ -316,23 +316,5 @@
         ok(outPixels == NULL, "psPixelsFromMask: return NULL for image with wrong maskType.");
         ok(!psMemCheckLeaks(id, NULL, NULL, false), "no memory leaks");
-        *(psElemType*)&(outImage->type.type) = PS_TYPE_U8;
-    }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+    }
 
     //----------------------------------------------------------------------
@@ -397,4 +379,5 @@
         psFree(outPixels);
         ok(!psMemCheckLeaks(id, NULL, NULL, false), "no memory leaks");
+        ok(!psMemCheckLeaks(id, NULL, NULL, false), "no memory leaks");
     }
 
