API Guide
2-134 API Functions 601355 Rev A
123 VSID_ENDFIELD);
124 for (j = 0; j < numexpr; j++)
125 {
126 /* get the expressions from
the criteria */
127 VS_Criteria_GetFields(criteriah,
128 VSID_EXPRESSION_HANDLE_ENTRY, j,
&exprh,
129 VSID_ENDFIELD);
130 /* destroy the expression
handle */
131 /*
VS_Expression_Destroy(exprh);*/
132 /* let criteria handle know
that the */
133 /* expression handle has
been destroyed */
134 VS_Criteria_SetFields(criteriah,
135 VSID_EXPRESSION_HANDLE_ENTRY, j,
NULL,
136 VSID_ENDFIELD);
137 }
138 /* now, destroy Criteria
handle. */
139 VS_Criteria_Destroy(criteriah);
140 /* let the criteria group
handle know */
141 /* that Criteria handle has
been */
142 /* destroyed. */
143 VS_CriteriaGroup_SetFields(grouph
,
144 VSID_CRITERIA_HANDLE_ENTRY, i,
NULL,
145 VSID_ENDFIELD);