From 9f83a2f25200e86528264a4f1a3769d089e36c2e Mon Sep 17 00:00:00 2001 From: dimitr Date: Mon, 22 Dec 2003 18:03:18 +0000 Subject: [PATCH] Minor addition to one of my previous changes. --- src/jrd/vio.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/jrd/vio.cpp b/src/jrd/vio.cpp index 48694a8b2d..bf118f0d66 100644 --- a/src/jrd/vio.cpp +++ b/src/jrd/vio.cpp @@ -2754,8 +2754,9 @@ void VIO_verb_cleanup(TDBB tdbb, JRD_TRA transaction) #endif if (transaction->tra_flags & TRA_system) return; - + sav* sav_point = transaction->tra_save_point; + if (!sav_point) return; @@ -2924,7 +2925,7 @@ void VIO_verb_cleanup(TDBB tdbb, JRD_TRA transaction) if (rpb.rpb_record) delete rpb.rpb_record; } - SBM_reset(&action->vct_records); + SBM_release(action->vct_records); if (action->vct_undo) { if (action->vct_undo->getFirst()) do {