optimized code
This commit is contained in:
parent
5c819f2534
commit
7e55813961
|
@ -396,14 +396,12 @@ void tscPartiallyFreeSqlObj(SSqlObj* pSql) {
|
|||
if (pObj->signature == pObj) {
|
||||
pthread_mutex_lock(&pObj->mutex);
|
||||
tfree(pSql->sqlstr);
|
||||
pSql->sqlstr = NULL;
|
||||
pthread_mutex_unlock(&pObj->mutex);
|
||||
}
|
||||
|
||||
tscFreeSqlResult(pSql);
|
||||
|
||||
tfree(pSql->pSubs);
|
||||
pSql->pSubs = NULL;
|
||||
pSql->freed = 0;
|
||||
pSql->numOfSubs = 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue