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

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

This commit is contained in:
hvlad 2010-01-20 10:30:58 +00:00
parent 134e9ded40
commit 20beb60a14

View File

@ -162,6 +162,9 @@ void RSE_close(thread_db* tdbb, RecordSource* rsb)
if (imp_nav->irsb_nav_page)
{
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;
}
}