diff options
author | Vincent Richard <[email protected]> | 2018-10-17 18:26:44 +0000 |
---|---|---|
committer | Vincent Richard <[email protected]> | 2018-10-17 18:26:44 +0000 |
commit | 0368adade1489f8611356252ddedbfd80a816e41 (patch) | |
tree | 1a8a6ea291b727669540b3d62bab9386c23a19cc /src | |
parent | Removed 'stringProxy' since COW std::string is no longer valid in C++11. (diff) | |
download | vmime-0368adade1489f8611356252ddedbfd80a816e41.tar.gz vmime-0368adade1489f8611356252ddedbfd80a816e41.zip |
#206 Initialize and delete pointers
Diffstat (limited to 'src')
-rw-r--r-- | src/vmime/net/imap/IMAPParser.hpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/vmime/net/imap/IMAPParser.hpp b/src/vmime/net/imap/IMAPParser.hpp index 74b5145f..186ac23f 100644 --- a/src/vmime/net/imap/IMAPParser.hpp +++ b/src/vmime/net/imap/IMAPParser.hpp @@ -4586,7 +4586,11 @@ public: m_atom(NULL), m_flag_list(NULL), m_text(NULL), - m_capability_data(NULL) { + m_mod_sequence_value(NULL), + m_sequence_set(NULL), + m_capability_data(NULL), + m_uid_set(NULL), + m_uid_set2(NULL) { } @@ -4596,7 +4600,11 @@ public: delete m_atom; delete m_flag_list; delete m_text; + delete m_mod_sequence_value; + delete m_sequence_set; delete m_capability_data; + delete m_uid_set; + delete m_uid_set2; } bool parseImpl(IMAPParser& parser, string& line, size_t* currentPos) { |