Hi.
With the function *DefineVirtualRelation* has a possible
useless call to *makeNode* function, which invokes palloc.
So, reduce the scope for the variable to inner else
where it is really necessary.
trivial patch attached.
best regards,
Ranier Vilela