aboutsummaryrefslogtreecommitdiff
path: root/src/trinityrealm/AuthSocket.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-08-08 12:12:56 -0500
committermegamage <none@none>2009-08-08 12:12:56 -0500
commitf8a05d264f77f366bf9f367dc5c59262c190c017 (patch)
tree4d02f63f3dddba3b5ff3154832c1c491a894f358 /src/trinityrealm/AuthSocket.cpp
parent658538a092014f270000932db6b61d4e8efed83f (diff)
[8318] Deleted as expected runnable objects at related Thread deleting for avoid memory leaks. Author: VladimirMangos
[8319] Restore compile PGSQL support after last changes. Author: ApoC --HG-- branch : trunk
Diffstat (limited to 'src/trinityrealm/AuthSocket.cpp')
-rw-r--r--src/trinityrealm/AuthSocket.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trinityrealm/AuthSocket.cpp b/src/trinityrealm/AuthSocket.cpp
index 6a6cde45895..06c55f4955e 100644
--- a/src/trinityrealm/AuthSocket.cpp
+++ b/src/trinityrealm/AuthSocket.cpp
@@ -928,7 +928,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;
}
@@ -961,7 +961,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;
}