Free an LO-specification structure

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

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