[8318] Deleted as expected runnable objects at related Thread deleting for avoid memory leaks.

This commit is contained in:
VladimirMangos 2009-08-05 20:21:25 +04:00
parent dc8bf0f7e7
commit 0f364bf00a
7 changed files with 30 additions and 15 deletions

View file

@ -926,7 +926,7 @@ bool AuthSocket::_HandleXferResume()
ibuf.Read((char*)&start,sizeof(start));
fseek(pPatch, start, 0);
ACE_Based::Thread u(*new PatcherRunnable(this));
ACE_Based::Thread u(new PatcherRunnable(this));
return true;
}
@ -959,7 +959,7 @@ bool AuthSocket::_HandleXferAccept()
ibuf.Remove(1); // clear input buffer
fseek(pPatch, 0, 0);
ACE_Based::Thread u(*new PatcherRunnable(this));
ACE_Based::Thread u(new PatcherRunnable(this));
return true;
}