From 578e81508b13a70843a6606a082c8feaa4ee59e9 Mon Sep 17 00:00:00 2001 From: alexpeshkoff Date: Wed, 23 Jan 2008 13:44:03 +0000 Subject: [PATCH] Call transaction destructor before removing transaction pool --- src/jrd/tra.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jrd/tra.cpp b/src/jrd/tra.cpp index 577e6f65a1..d0ca5a0164 100644 --- a/src/jrd/tra.cpp +++ b/src/jrd/tra.cpp @@ -1123,6 +1123,10 @@ void TRA_release_transaction(thread_db* tdbb, jrd_tra* transaction) delete transaction->tra_db_snapshot; + // Release the transaction + + transaction->~jrd_tra(); + // Release the transaction pool. JrdMemoryPool* tra_pool = transaction->tra_pool;