fix crash issue
This commit is contained in:
parent
176af30aec
commit
b9d5df6761
|
@ -2054,11 +2054,8 @@ void tscFreeRetrieveSupporters(SSqlObj *pSql) {
|
||||||
for(int32_t i = 0; i < pSql->subState.numOfSub; ++i) {
|
for(int32_t i = 0; i < pSql->subState.numOfSub; ++i) {
|
||||||
SSqlObj* pSub = pSql->pSubs[i];
|
SSqlObj* pSub = pSql->pSubs[i];
|
||||||
assert(pSub != NULL);
|
assert(pSub != NULL);
|
||||||
|
|
||||||
SRetrieveSupport* pSupport = pSub->param;
|
tscFreeRetrieveSup(pSub);
|
||||||
|
|
||||||
tfree(pSupport->localBuffer);
|
|
||||||
tfree(pSub->param);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue