[td-225] add comments.
This commit is contained in:
parent
59e7bcf1dd
commit
9ef4359863
|
@ -353,6 +353,7 @@ int32_t qDumpRetrieveResult(qinfo_t qinfo, SRetrieveTableRsp **pRsp, int32_t *co
|
||||||
qDebug("QInfo:%p has more results to retrieve", pQInfo);
|
qDebug("QInfo:%p has more results to retrieve", pQInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// the memory should be freed if the code of pQInfo is not TSDB_CODE_SUCCESS
|
||||||
if (pQInfo->code != TSDB_CODE_SUCCESS) {
|
if (pQInfo->code != TSDB_CODE_SUCCESS) {
|
||||||
rpcFreeCont(*pRsp);
|
rpcFreeCont(*pRsp);
|
||||||
*pRsp = NULL;
|
*pRsp = NULL;
|
||||||
|
|
Loading…
Reference in New Issue