Surface.free

void free(IStr file = __FILE__, Sz line = __LINE__) @trusted nothrow

Frees the memory if it is owning it and resets the state.