[td-225] fix bugs in regression test.
This commit is contained in:
parent
ad1c82b6db
commit
f982f2df5e
|
@ -615,10 +615,9 @@ void taos_close_stream(TAOS_STREAM *handle) {
|
||||||
tscDebug("%p stream:%p is closed", pSql, pStream);
|
tscDebug("%p stream:%p is closed", pSql, pStream);
|
||||||
// notify CQ to release the pStream object
|
// notify CQ to release the pStream object
|
||||||
pStream->fp(pStream->param, NULL, NULL);
|
pStream->fp(pStream->param, NULL, NULL);
|
||||||
|
taos_free_result(pSql);
|
||||||
|
|
||||||
tscFreeSqlObj(pSql);
|
|
||||||
pStream->pSql = NULL;
|
pStream->pSql = NULL;
|
||||||
|
|
||||||
taosTFree(pStream);
|
taosTFree(pStream);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue