fix crash issue

This commit is contained in:
wpan 2021-08-17 13:54:15 +08:00
parent 176af30aec
commit b9d5df6761
1 changed files with 2 additions and 5 deletions

View File

@ -2054,11 +2054,8 @@ void tscFreeRetrieveSupporters(SSqlObj *pSql) {
for(int32_t i = 0; i < pSql->subState.numOfSub; ++i) {
SSqlObj* pSub = pSql->pSubs[i];
assert(pSub != NULL);
SRetrieveSupport* pSupport = pSub->param;
tfree(pSupport->localBuffer);
tfree(pSub->param);
tscFreeRetrieveSup(pSub);
}
}