From 167a10282df486a7ba4d3c8de8cee275bae21f75 Mon Sep 17 00:00:00 2001 From: wessels <> Date: Fri, 22 Jan 1999 11:09:38 +0000 Subject: [PATCH] store_open_disk__fd counter leak --- src/store_client.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.47.3