Commit f56ed69d authored by Volker Krause's avatar Volker Krause
Browse files

fix memleak

svn path=/trunk/KDE/kdepim/mailtransport/; revision=619084
parent d98b7b56
...@@ -44,6 +44,11 @@ TransportJob::TransportJob( Transport* transport, QObject * parent ) : ...@@ -44,6 +44,11 @@ TransportJob::TransportJob( Transport* transport, QObject * parent ) :
d->buffer = 0; d->buffer = 0;
} }
TransportJob::~ TransportJob()
{
delete d;
}
void TransportJob::setSender(const QString & sender) void TransportJob::setSender(const QString & sender)
{ {
d->sender = sender; d->sender = sender;
......
...@@ -44,6 +44,11 @@ class MAILTRANSPORT_EXPORT TransportJob : public KCompositeJob ...@@ -44,6 +44,11 @@ class MAILTRANSPORT_EXPORT TransportJob : public KCompositeJob
*/ */
TransportJob( Transport* transport, QObject* parent = 0 ); TransportJob( Transport* transport, QObject* parent = 0 );
/**
Deletes this transport job.
*/
virtual ~TransportJob();
/** /**
Sets the sender of the mail. Sets the sender of the mail.
*/ */
......
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