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

Fixed bug CORE-2820 : Small memory leak in query with PLAN ORDER

This commit is contained in:
hvlad 2010-01-20 10:27:19 +00:00
parent 21b955514f
commit 27dea399bb

View File

@ -187,6 +187,9 @@ void RSE_close(thread_db* tdbb, RecordSource* rsb)
if (imp_nav->irsb_nav_page) if (imp_nav->irsb_nav_page)
{ {
imp_nav->irsb_nav_btr_gc_lock->enablePageGC(tdbb); imp_nav->irsb_nav_btr_gc_lock->enablePageGC(tdbb);
delete imp_nav->irsb_nav_btr_gc_lock;
imp_nav->irsb_nav_btr_gc_lock = NULL;
imp_nav->irsb_nav_page = 0; imp_nav->irsb_nav_page = 0;
} }
} }