Increased Clientprefs error reporting and a rare leak on database connection failed.

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402434
This commit is contained in:
Matt Woodrow
2008-08-05 08:00:54 +00:00
parent ea748cfdbd
commit a01848c774
2 changed files with 85 additions and 12 deletions
+2
View File
@@ -117,6 +117,7 @@ IdentityToken_t *TQueryOp::GetOwner()
{
return myself->GetIdentity();
}
void TQueryOp::Destroy()
{
delete this;
@@ -148,6 +149,7 @@ bool TQueryOp::BindParamsAndRun()
{
if (m_pQuery == NULL)
{
g_pSM->LogError(myself, "Attempted to run with a NULL Query");
return false;
}