diff options
author | Vincent Richard <[email protected]> | 2010-11-30 14:57:03 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2010-11-30 14:57:03 +0000 |
commit | 8e9320970b40315388699f248176f677b5b242b1 (patch) | |
tree | 45b664c107af5d0f61fb95d0b93b5916be00d7f9 | |
parent | Started version 0.9.2. (diff) | |
download | vmime-8e9320970b40315388699f248176f677b5b242b1.tar.gz vmime-8e9320970b40315388699f248176f677b5b242b1.zip |
Initialize and delete object.
-rw-r--r-- | vmime/net/imap/IMAPParser.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vmime/net/imap/IMAPParser.hpp b/vmime/net/imap/IMAPParser.hpp index 0f3e9ecc..d71c3ca7 100644 --- a/vmime/net/imap/IMAPParser.hpp +++ b/vmime/net/imap/IMAPParser.hpp @@ -3823,7 +3823,9 @@ public: msg_att_item() : m_date_time(NULL), m_number(NULL), m_envelope(NULL), - m_uniqueid(NULL), m_nstring(NULL), m_body(NULL), m_flag_list(NULL) + m_uniqueid(NULL), m_nstring(NULL), m_body(NULL), m_flag_list(NULL), + m_section(NULL) + { } @@ -3836,6 +3838,7 @@ public: delete (m_nstring); delete (m_body); delete (m_flag_list); + delete (m_section); } void go(IMAPParser& parser, string& line, string::size_type* currentPos) |