8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-24 09:23:03 +01:00

Call transaction destructor before removing transaction pool

This commit is contained in:
alexpeshkoff 2008-01-23 13:44:03 +00:00
parent 31fe9e76f5
commit 578e81508b

View File

@ -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;