diff --git a/src/host/utf8ToWideCharParser.cpp b/src/host/utf8ToWideCharParser.cpp index 3518300afa..7244bdd1ef 100644 --- a/src/host/utf8ToWideCharParser.cpp +++ b/src/host/utf8ToWideCharParser.cpp @@ -505,5 +505,5 @@ void Utf8ToWideCharParser::_Reset() { _currentState = _State::Ready; _bytesStored = 0; - _convertedWideChars.release(); + _convertedWideChars.reset(nullptr); }