-
void aoclsparse_itsol_destroy(aoclsparse_itsol_handle *handle)#
Free the memory reserved in a problem
handlepreviously initialized by aoclsparse_itsol_s_init or aoclsparse_itsol_d_init.Once the problem handle is no longer needed, calling this function to deallocate the memory is advisable to avoid memory leaks.
Note
Passing a
handlethat has not been initialized by aoclsparse_itsol_s_init or aoclsparse_itsol_d_init may have unpredictable results.- Parameters:
handle – [inout] pointer to a problem handle.