mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 01:23:03 +01:00
Variable shadowing that could cause memory leak
This commit is contained in:
parent
6313214af1
commit
60cd02de47
@ -558,7 +558,7 @@ jrd_req* CMP_compile2(thread_db* tdbb, const UCHAR* blr, USHORT internal_flag)
|
||||
|
||||
try {
|
||||
|
||||
JrdMemoryPool* new_pool = JrdMemoryPool::createPool();
|
||||
new_pool = JrdMemoryPool::createPool();
|
||||
Jrd::ContextPoolHolder context(tdbb, new_pool);
|
||||
|
||||
CompilerScratch* csb = PAR_parse(tdbb, blr, internal_flag);
|
||||
|
Loading…
Reference in New Issue
Block a user