void ZlibInStream::deinit()
{
  assert(zs != NULL);
  removeUnderlying();
  inflateEnd(zs);
  delete zs;
  zs = NULL;
}
The software uses, accesses, or otherwise operates on a resource after that resource has been expired, released, or revoked.