protected override void Dispose(bool disposing) { try { if (disposing) { if (_textArray != null) { _memory.FreeChar(_textArray); _textArray = null; } if (_dataArray != null) { _memory.FreeByte(_dataArray); _dataArray = null; } } } finally { base.Dispose(disposing); } }