revert memory deletions, should be done properly

This commit is contained in:
erwin.coumans
2012-09-09 20:57:41 +00:00
parent 491c91f486
commit ccfbb9fd79
3 changed files with 0 additions and 6 deletions

View File

@@ -249,8 +249,6 @@ void PosixThreadSupport::stopSPU()
printf("semaphore destroyed\n"); printf("semaphore destroyed\n");
checkPThreadFunction(pthread_join(spuStatus.thread,0)); checkPThreadFunction(pthread_join(spuStatus.thread,0));
if(spuStatus.m_lsMemory)
delete spuStatus.m_lsMemory;
} }
printf("destroy main semaphore\n"); printf("destroy main semaphore\n");
destroySem(mainSemaphore); destroySem(mainSemaphore);

View File

@@ -300,8 +300,6 @@ void Win32ThreadSupport::stopSPU()
CloseHandle(spuStatus.m_eventStartHandle); CloseHandle(spuStatus.m_eventStartHandle);
CloseHandle(spuStatus.m_threadHandle); CloseHandle(spuStatus.m_threadHandle);
if(spuStatus.m_lsMemory)
delete spuStatus.m_lsMemory;
} }
m_activeSpuStatus.clear(); m_activeSpuStatus.clear();

View File

@@ -1157,8 +1157,6 @@ btParallelConstraintSolver::~btParallelConstraintSolver()
{ {
delete m_memoryCache; delete m_memoryCache;
delete m_solverIO; delete m_solverIO;
delete m_barrier;
delete m_criticalSection;
} }