Fixed a possible use-after-free bug in initialization code.

This commit is contained in:
LoRd_MuldeR 2015-08-07 01:57:28 +02:00
parent 1c621dff07
commit 02495f8856
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@
#define VER_LAMEXP_MINOR_LO 2 #define VER_LAMEXP_MINOR_LO 2
#define VER_LAMEXP_TYPE Beta #define VER_LAMEXP_TYPE Beta
#define VER_LAMEXP_PATCH 2 #define VER_LAMEXP_PATCH 2
#define VER_LAMEXP_BUILD 1773 #define VER_LAMEXP_BUILD 1775
#define VER_LAMEXP_CONFG 1700 #define VER_LAMEXP_CONFG 1700
/////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////

View File

@ -411,7 +411,7 @@ double InitializationThread::doInit(const size_t threadCount)
if(cpuType & cpuSupport) if(cpuType & cpuSupport)
{ {
pool->start(new ExtractorTask(resource.data(), appDir, toolName, toolHash, version, versInfo)); pool->start(new ExtractorTask(resource.take(), appDir, toolName, toolHash, version, versInfo));
continue; continue;
} }
} }