Destroy a query specification.
This frees the resources allocated by DOFQueryBuilder_Build or DOFQueryBuilder_BuildAndDestroy.