mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-24 04:03:03 +01:00
Fixed CORE-6370 - Memory leak at server, when client select computed field, which used COALESCE or CAST.
This commit is contained in:
parent
60d4cc928b
commit
dde597e6ae
@ -2762,7 +2762,7 @@ void CastNode::getDesc(thread_db* tdbb, CompilerScratch* csb, dsc* desc)
|
||||
|
||||
ValueExprNode* CastNode::copy(thread_db* tdbb, NodeCopier& copier) const
|
||||
{
|
||||
CastNode* node = FB_NEW_POOL(getPool()) CastNode(getPool());
|
||||
CastNode* node = FB_NEW_POOL(*tdbb->getDefaultPool()) CastNode(*tdbb->getDefaultPool());
|
||||
|
||||
node->source = copier.copy(tdbb, source);
|
||||
node->castDesc = castDesc;
|
||||
|
Loading…
Reference in New Issue
Block a user