Commit 82864fe1 authored by Laurent Montel's avatar Laurent Montel 😁

Fix mem leak

parent 85a3a458
......@@ -437,6 +437,11 @@ MIMEObject::MIMEObject()
}
MIMEObject::~MIMEObject()
{
delete d;
}
void MIMEObject::setObjectType(ObjectType type)
{
d->mOverrideObjectType = type;
......
......@@ -37,6 +37,7 @@ class KOLAB_EXPORT MIMEObject
{
public:
MIMEObject();
~MIMEObject();
ObjectType parseMessage(const std::string &msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment