提交 40b6ce67 编写于 作者: H Haojun Liao

[td-225] fix coverity problem

上级 eb0f6a1e
......@@ -402,6 +402,8 @@ void tscFreeSqlObj(SSqlObj* pSql) {
return;
}
void *p = pSql;
tscDebug("%p start to free sqlObj", pSql);
STscObj* pTscObj = pSql->pTscObj;
......@@ -421,7 +423,8 @@ void tscFreeSqlObj(SSqlObj* pSql) {
tsem_destroy(&pSql->rspSem);
free(pSql);
tscDebug("%p free sqlObj completed", pSql);
tscDebug("%p free sqlObj completed", p);
int32_t ref = T_REF_DEC(pTscObj);
assert(ref >= 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册