diff --git a/src/vmime/body.hpp b/src/vmime/body.hpp index fad59bcd..508c47a8 100644 --- a/src/vmime/body.hpp +++ b/src/vmime/body.hpp @@ -311,7 +311,7 @@ private: shared_ptr m_contents; - bodyPart* m_part; + bodyPart* m_part = nullptr; std::vector > m_parts;