fix mem leak
This commit is contained in:
parent
e43b3c330a
commit
2fde105908
|
@ -2743,7 +2743,7 @@ void tscHandleSubqueryError(SRetrieveSupport *trsupport, SSqlObj *pSql, int numO
|
|||
|
||||
SSqlObj *userSql = ((SRetrieveSupport*)pParentSql->param)->pParentSql;
|
||||
|
||||
tscFreeRetrieveSupporters(pParentSql);
|
||||
tscFreeRetrieveSup(pParentSql);
|
||||
|
||||
tscFreeSubobj(userSql);
|
||||
tfree(userSql->pSubs);
|
||||
|
|
|
@ -3767,7 +3767,7 @@ static void tscSubqueryCompleteCallback(void* param, TAOS_RES* tres, int code) {
|
|||
|
||||
SSqlObj *userSql = ((SRetrieveSupport*)pParentSql->param)->pParentSql;
|
||||
|
||||
tscFreeRetrieveSupporters(pParentSql);
|
||||
tscFreeRetrieveSup(pParentSql);
|
||||
|
||||
tscFreeSubobj(userSql);
|
||||
tfree(userSql->pSubs);
|
||||
|
|
Loading…
Reference in New Issue