free method

void free()

Releases the native memory allocated to the BSTR.

Implementation

void free() => SysFreeString(ptr);