Merge pull request #3607 from taosdata/feature/query

[td-225] fix bugs in regression test.
This commit is contained in:
haojun Liao 2020-09-21 15:18:36 +08:00 committed by GitHub
commit 93a2e3a990
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}
}