This method of the DllLib class frees a native memory block by invoking the Win32 function CoTaskMemFree. Any global memory handle that has a zero high-order word is safely ignored.
public static void freeCoTaskMem(int ptr);
ptr | The memory block to free. |