Fixed mem leak in clientprefs
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402310
This commit is contained in:
@@ -98,6 +98,7 @@ TQueryOp::TQueryOp(IDatabase *db, const char *query, enum querytype type, int cl
|
||||
m_Query = query;
|
||||
m_type = type;
|
||||
m_client = client;
|
||||
m_pQuery = NULL;
|
||||
|
||||
m_pDatabase->IncReferenceCount();
|
||||
}
|
||||
@@ -108,6 +109,7 @@ TQueryOp::TQueryOp(IDatabase *db, const char *query, enum querytype type, Cookie
|
||||
m_Query = query;
|
||||
m_type = type;
|
||||
pCookie = cookie;
|
||||
m_pQuery = NULL;
|
||||
|
||||
m_pDatabase->IncReferenceCount();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user