From: hno <> Date: Sat, 21 Apr 2001 03:18:43 +0000 (+0000) Subject: Don't free the sio twice. It is freed automatically by cbdata X-Git-Tag: SQUID_3_0_PRE1~1528 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=34fdf670ed304b694c04422b8c6114494b06e870;p=thirdparty%2Fsquid.git Don't free the sio twice. It is freed automatically by cbdata --- diff --git a/src/fs/coss/store_io_coss.cc b/src/fs/coss/store_io_coss.cc index 601e00ffb4..3327da6a3a 100644 --- a/src/fs/coss/store_io_coss.cc +++ b/src/fs/coss/store_io_coss.cc @@ -1,6 +1,6 @@ /* - * $Id: store_io_coss.cc,v 1.8 2001/03/03 10:39:37 hno Exp $ + * $Id: store_io_coss.cc,v 1.9 2001/04/20 21:18:43 hno Exp $ * * DEBUG: section 81 Storage Manager COSS Interface * AUTHOR: Eric Stern @@ -529,14 +529,12 @@ storeCossStartMembuf(SwapDir * sd) } /* - * We can't pass memFree() as a free function here, because we need to free - * the fsstate variable .. + * Clean up any references from the SIO before it get's released. */ static void storeCossIOFreeEntry(void *sio) { memPoolFree(coss_state_pool, ((storeIOState *) sio)->fsstate); - memFree(sio, MEM_STORE_IO); } /*