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

leonardo at ghostscript.com leonardo at ghostscript.com
Wed Oct 11 14:12:53 PDT 2006


Author: leonardo
Date: 2006-10-11 14:12:53 -0700 (Wed, 11 Oct 2006)
New Revision: 7104

Modified:
   trunk/gs/src/gzspotan.c
Log:
Fix (spot analyzer) : Clean pointers when closing.

DETAILS :

This is a minor code cleanup.
The garbager never deals with those pointers.
We clean them just against a heedache for those,
who reads that code.

EXPECTED DIFFERENCES :

None.


Modified: trunk/gs/src/gzspotan.c
===================================================================
--- trunk/gs/src/gzspotan.c	2006-10-11 20:06:11 UTC (rev 7103)
+++ trunk/gs/src/gzspotan.c	2006-10-11 21:12:53 UTC (rev 7104)
@@ -295,6 +295,11 @@
     free_cont_list(padev->memory, &padev->cont_buffer);
     padev->trap_buffer_last = NULL;
     padev->cont_buffer_last = NULL;
+    padev->trap_free = NULL;
+    padev->cont_free = NULL;
+    padev->top_band = NULL;
+    padev->bot_band = NULL;
+    padev->bot_current = NULL;
     return 0;
 }
 



More information about the gs-cvs mailing list