Use esta função para excluir a SQLPathExpression que você criou chamando as funções de utilitário cniSqlCreateReadOnlyPathExpression ou cniSqlCreateModifiablePathExpression, conforme definido pelo argumento sqlPathExpression.
void cniSqlDeletePathExpression(
int* returnCode,
CciSqlPathExpression* sqlPathExpression );
Expandindo no exemplo para cniSqlCreateReadOnlyPathExpression, inclua o seguinte código em _deleteNodeContext.
cniSqlDeletePathExpression(
NULL,
((NODE_CONTEXT_ST *)context)->pathExpression);