Fix segfault. Issue #7381

pull/7554/head
Konstantin Morozov 2024-03-07 13:10:42 +03:00
parent edcdbe67b1
commit 6a9b8c832f
1 changed files with 4 additions and 0 deletions

View File

@ -91,6 +91,10 @@ bool InDelegatedFunctionCall = false;
static bool static bool
contain_param_walker(Node *node, void *context) contain_param_walker(Node *node, void *context)
{ {
if (node == NULL)
{
return false;
}
if (IsA(node, Param)) if (IsA(node, Param))
{ {
Param *paramNode = (Param *) node; Param *paramNode = (Param *) node;