]> git.ipfire.org Git - thirdparty/squid.git/commit
Removing the "state == NULL" assertion in comm_write().
authorwessels <>
Sat, 24 Feb 2001 02:42:36 +0000 (02:42 +0000)
committerwessels <>
Sat, 24 Feb 2001 02:42:36 +0000 (02:42 +0000)
commitbedd962a2e2fc9c19387c1764217580a85e49552
tree6c634e2a34fafedb244fd2c245282a660261f29c
parent85a91bfc7c40c03f488ce66195b7f690f43f0489
Removing the "state == NULL" assertion in comm_write().

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.
src/comm.cc