Fixed memory leak.
This commit is contained in:
parent
012989f8fd
commit
b65d748ff3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user