Free an LO-status structure

To explicitly free the resources assigned to an LO-status structure, use the mi_lo_stat_free() function. The mi_lo_stat_free() function is the destructor function for an LO-status structure. When the resources are freed, they can be reallocated to other structures that your program needs.

Server only: The mi_lo_stat() function allocates an LO-status structure in the current memory duration. Therefore, if the current memory duration is the default duration of PER_ROUTINE, an LO-status structure has a memory duration of PER_ROUTINE and the database server automatically frees it when the UDR completes.