[mac] Fixed memory leak

This commit is contained in:
Alex Zolotarev 2013-10-23 23:22:55 +03:00 committed by Alex Zolotarev
parent 1f57aa80ec
commit 39c08d017c

View file

@ -49,7 +49,6 @@ Platform::Platform()
::mkdir(m_writableDir.c_str(), 0755);
}
}
[pool release];
m_settingsDir = m_writableDir;
@ -63,6 +62,8 @@ Platform::Platform()
LOG(LDEBUG, ("Writable Directory:", m_writableDir));
LOG(LDEBUG, ("Tmp Directory:", m_tmpDir));
LOG(LDEBUG, ("Settings Directory:", m_settingsDir));
[pool release];
}
int Platform::CpuCores() const