From 52f6184e8898f3025963444d988ed0b07b06db53 Mon Sep 17 00:00:00 2001 From: saturneric Date: Sun, 1 Dec 2024 19:26:23 +0100 Subject: [PATCH] fix: must init raw pointer *bodyPart --- src/vmime/body.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;