From: wessels <> Date: Fri, 22 Jan 1999 11:09:38 +0000 (+0000) Subject: store_open_disk__fd counter leak X-Git-Tag: SQUID_3_0_PRE1~2360 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=167a10282df486a7ba4d3c8de8cee275bae21f75;p=thirdparty%2Fsquid.git store_open_disk__fd counter leak --- diff --git a/src/store_client.cc b/src/store_client.cc index 9cd2fa74ed..81b45b944f 100644 --- a/src/store_client.cc +++ b/src/store_client.cc @@ -1,6 +1,6 @@ /* - * $Id: store_client.cc,v 1.57 1999/01/19 19:03:05 wessels Exp $ + * $Id: store_client.cc,v 1.58 1999/01/22 04:09:38 wessels Exp $ * * DEBUG: section 20 Storage Manager Client-Side Interface * AUTHOR: Duane Wessels @@ -449,6 +449,7 @@ storeUnregister(StoreEntry * e, void *data) if (sc->swapin_fd > -1) { commSetSelect(sc->swapin_fd, COMM_SELECT_READ, NULL, NULL, 0); file_close(sc->swapin_fd); + store_open_disk_fd--; /* XXX this probably leaks file_read handler structures */ } #if USE_ASYNC_IO