Free a save set
A save-set structure has a memory duration of PER_STMT_EXEC. Therefore,
a save-set structure remains active until one of the following events
occurs:
- The mi_save_set_destroy() function frees the save-set structure.
- The end of the current SQL statement is reached.
- The mi_close() function closes the current connection.
To conserve resources, use the mi_save_set_destroy() function to explicitly deallocate the save set once your DataBlade® API module no longer needs it. The mi_save_set_destroy() function is the destructor function for a save-set structure. It frees the save-set structure and any resources that are associated with it.