diff --git a/src/jrd/cch.cpp b/src/jrd/cch.cpp index ea295077b2..aa459934d1 100644 --- a/src/jrd/cch.cpp +++ b/src/jrd/cch.cpp @@ -1260,7 +1260,8 @@ void CCH_fini(thread_db* tdbb) { QUE que_inst = bcb->bcb_free_lwt.que_forward; QUE_DELETE(*que_inst); - // LatchWait* lwt = (LatchWait*) BLOCK(que_inst, LatchWait*, lwt_waiters); + LatchWait* lwt = (LatchWait*) BLOCK(que_inst, LatchWait*, lwt_waiters); + delete lwt; } #endif }