freeResultSet

This function frees the storage used by an application-owned result set.

Detail

When an application finishes using a result set, the storage must be freed. This function takes a pointer to a result set token, frees the storage, and sets the pointer to null.

This function should only be used for result sets created using the copyResultSet function. If the result set is owned by the statistics API, an attempt to free the result set returns an error.