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

alexcher at ghostscript.com alexcher at ghostscript.com
Mon Jun 11 14:58:13 PDT 2007


Author: alexcher
Date: 2007-06-11 14:58:13 -0700 (Mon, 11 Jun 2007)
New Revision: 8042

Modified:
   trunk/gs/src/gspcolor.c
Log:
Don't leave ccolor.pattern uninitialized for the null pattern because
this field is enumerated by GC. Bug 689002.

DIFFERENCES:
None. 


Modified: trunk/gs/src/gspcolor.c
===================================================================
--- trunk/gs/src/gspcolor.c	2007-06-11 16:26:51 UTC (rev 8041)
+++ trunk/gs/src/gspcolor.c	2007-06-11 21:58:13 UTC (rev 8042)
@@ -211,6 +211,7 @@
 {
     if (pc->pattern == 0) {
         pdc->ccolor_valid = false;
+        pdc->ccolor.pattern = 0; /* for GC */
 	color_set_null_pattern(pdc);
 	return 0;
     }



More information about the gs-cvs mailing list