Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit ce5d7b13 authored by Leslie Zhai's avatar Leslie Zhai

Fix Memory-leak issue detected by clang analyzer long time ago

CCBUG: 386983
parent 5e13d929
......@@ -171,6 +171,7 @@ public:
QString name;
QStringList userParameters;
QList<const ExternalBin*> bins;
QList<const ExternalBin*> gcBins;
QString defaultBin;
......@@ -183,7 +184,8 @@ K3b::ExternalProgram::ExternalProgram( const QString& name )
qDeleteAll( d->bins );
delete d;
......@@ -234,6 +236,7 @@ void K3b::ExternalProgram::addBin( K3b::ExternalBin* bin )
void K3b::ExternalProgram::clear()
d->gcBins << d->bins;
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