/* these are freed by gz_close */
static unsigned char *window;
-static unsigned long *crc_table;
+static unsigned long *crc_table = NULL;
static unsigned long crc; /* shift register contents */
free(window);
free(crc_table);
+ window = NULL;
+ crc_table = NULL;
+
return exit_code;
}