Previously, this assertion was always true because we used
safe_free(state), but then state got MemPool-ified. Although
we did NULL fd_table[fd].rwstate, we didn't NULL 'state'.
The assertion is unneeded because fd_table[fd].rwstate will
always be freed if it is set at the beginning of the function.
/*
- * $Id: comm.cc,v 1.315 2001/01/12 00:37:16 wessels Exp $
+ * $Id: comm.cc,v 1.316 2001/02/23 19:42:36 wessels Exp $
*
* DEBUG: section 5 Socket Functions
* AUTHOR: Harvest Derived
memPoolFree(comm_write_pool, state);
fd_table[fd].rwstate = NULL;
}
- assert(state == NULL);
fd_table[fd].rwstate = state = memPoolAlloc(comm_write_pool);
state->buf = buf;
state->size = size;