> Languages and APIs > The ILOG CPLEX Callable Library > Using the Callable Library in an Application > Destroy the Problem Object

Use the routine CPXfreeprob to destroy a problem object when your application no longer needs it. Doing so will free all memory required to solve that problem instance.