Fixed memory leak.

This commit is contained in:
Vincent Richard 2014-03-08 13:53:44 +01:00
parent 012989f8fd
commit b65d748ff3

View File

@ -2166,6 +2166,16 @@ public:
DECLARE_COMPONENT(status_att_val)
status_att_val()
: m_value(NULL)
{
}
~status_att_val()
{
delete m_value;
}
bool parseImpl(IMAPParser& parser, string& line, size_t* currentPos)
{
size_t pos = *currentPos;