Partial revert of "Core/DB Layer: Fix a memory leak.", mysql library related stuff. Original memory leak fix is still in place.

This commit is contained in:
Machiavelli committed 2012-03-26 13:33:47 +02:00
1 parent 70ee37f3b4
commit e960016dc4
5 files changed
+7 -11

No files matched your search

@@ -34,11 +34,6 @@ int DatabaseWorker::svc()
if (!m_queue)
return -1;
//! Since this is called from the worker thread itself, we can ensure
//! that thread-specific variables remain in this thread.
if (!m_conn->Open())
return -1;
SQLOperation *request = NULL;
while (1)
{
@@ -52,7 +47,5 @@ int DatabaseWorker::svc()
delete request;
}
//! Clean up thread-specific variables
m_conn->Close();
return 0;
}