diff --git a/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp b/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp index 9d6afa4e2d5..60db32d879a 100644 --- a/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp +++ b/src/Processors/Formats/Impl/MsgPackRowInputFormat.cpp @@ -37,7 +37,7 @@ MsgPackRowInputFormat::MsgPackRowInputFormat(const Block & header_, std::unique_ void MsgPackRowInputFormat::resetParser() { IRowInputFormat::resetParser(); - buf.reset(); + buf->reset(); visitor.reset(); }