[gs-cvs] rev 7820 - trunk/gs/src

henrys at ghostscript.com henrys at ghostscript.com
Wed Apr 4 18:29:14 PDT 2007


Author: henrys
Date: 2007-04-04 18:29:14 -0700 (Wed, 04 Apr 2007)
New Revision: 7820

Modified:
   trunk/gs/src/gdevwts.c
Log:
fixes a UMR that was caused by a typo.


Modified: trunk/gs/src/gdevwts.c
===================================================================
--- trunk/gs/src/gdevwts.c	2007-04-03 16:08:49 UTC (rev 7819)
+++ trunk/gs/src/gdevwts.c	2007-04-05 01:29:14 UTC (rev 7820)
@@ -1007,7 +1007,7 @@
     halftoned_bytes = (width + 7) >> 3;	/* bytes per component */
     halftoned_buffer = gs_malloc(pdev->memory, halftoned_bytes * n_planes, 1,
 			       	"wtsimdi_print_page(halftoned_data)");
-    if (halftoned_data == NULL) {
+    if (halftoned_buffer == NULL) {
 	code = GS_NOTE_ERROR(pdev->memory, gs_error_VMerror);
 	goto cleanup;
     }



More information about the gs-cvs mailing list