/* z_comp_free - free the memory used by a compressor  */
static void z_comp_free(void *state)
/* z_comp_free - free the memory used by a compressor  */
static void z_comp_free(void *state)
{
	struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg;
	if (state) {
		zlib_deflateEnd(&state->strm);
		vfree(state->strm.workspace);
		kfree(state);
	}
}