This function frees the storage used by an application-owned result set.
Use this function only for result sets created using the copyResultSet function. If the result set is owned by the statistics C API, an attempt to free the result set returns an error.