aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-12-01 18:26:23 +0000
committersaturneric <[email protected]>2024-12-01 18:26:23 +0000
commit52f6184e8898f3025963444d988ed0b07b06db53 (patch)
tree148b9a29228267bade919619a88c3ad1312ee756
parentfix: should not use mlang in such a way in mingw (diff)
downloadvmime-master.tar.gz
vmime-master.zip
fix: must init raw pointer *bodyPartHEADmaster
-rw-r--r--src/vmime/body.hpp2
1 files changed, 1 insertions, 1 deletions
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 <const contentHandler> m_contents;
- bodyPart* m_part;
+ bodyPart* m_part = nullptr;
std::vector <shared_ptr <bodyPart> > m_parts;