This commit is contained in:
wpan 2021-08-17 16:04:48 +08:00
parent a299c05c96
commit 8902812399
2 changed files with 2 additions and 0 deletions

View File

@ -2744,6 +2744,7 @@ void tscHandleSubqueryError(SRetrieveSupport *trsupport, SSqlObj *pSql, int numO
SSqlObj *userSql = ((SRetrieveSupport*)pParentSql->param)->pParentSql; SSqlObj *userSql = ((SRetrieveSupport*)pParentSql->param)->pParentSql;
tscFreeRetrieveSup(pParentSql); tscFreeRetrieveSup(pParentSql);
tscFreeRetrieveSup(userSql);
tscFreeSubobj(userSql); tscFreeSubobj(userSql);
tfree(userSql->pSubs); tfree(userSql->pSubs);

View File

@ -3768,6 +3768,7 @@ static void tscSubqueryCompleteCallback(void* param, TAOS_RES* tres, int code) {
SSqlObj *userSql = ((SRetrieveSupport*)pParentSql->param)->pParentSql; SSqlObj *userSql = ((SRetrieveSupport*)pParentSql->param)->pParentSql;
tscFreeRetrieveSup(pParentSql); tscFreeRetrieveSup(pParentSql);
tscFreeRetrieveSup(userSql);
tscFreeSubobj(userSql); tscFreeSubobj(userSql);
tfree(userSql->pSubs); tfree(userSql->pSubs);