Frees the converter, releases any used resources, and invalidates the conversion object.
#include "ltwrappr.h"
L_INT LColor::Free();
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
A color conversion class object is initialized by calling the LColor::Initialize function.
For each call to LColor::Initialize there must be a call to LColor::Free. This function should be the last function to be called in the toolkit. It will clean up and free memory allocated during the color conversion session for the specified class object.
For an example, refer to LColor::Initialize.