Fixed a memory leak: Decoder objects were never destroyed!

This commit is contained in:
LoRd_MuldeR 2011-05-15 18:54:40 +02:00
parent f8f792f23f
commit 243993434e
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@
#define VER_LAMEXP_MINOR_LO 2
#define VER_LAMEXP_TYPE Alpha
#define VER_LAMEXP_PATCH 15
#define VER_LAMEXP_BUILD 523
#define VER_LAMEXP_BUILD 526
///////////////////////////////////////////////////////////////////////////////
// Tools versions

View File

@ -154,6 +154,7 @@ void ProcessThread::processFile()
connect(decoder, SIGNAL(messageLogged(QString)), this, SLOT(handleMessage(QString)), Qt::DirectConnection);
bSuccess = decoder->decode(sourceFile, tempFile, &m_aborted);
LAMEXP_DELETE(decoder);
if(bSuccess)
{