Merge pull request #3607 from taosdata/feature/query
[td-225] fix bugs in regression test.
This commit is contained in:
commit
93a2e3a990
|
@ -620,10 +620,9 @@ void taos_close_stream(TAOS_STREAM *handle) {
|
|||
tscDebug("%p stream:%p is closed", pSql, pStream);
|
||||
// notify CQ to release the pStream object
|
||||
pStream->fp(pStream->param, NULL, NULL);
|
||||
taos_free_result(pSql);
|
||||
|
||||
tscFreeSqlObj(pSql);
|
||||
pStream->pSql = NULL;
|
||||
|
||||
taosTFree(pStream);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue