[td-225] add comments.

This commit is contained in:
Haojun Liao 2021-02-07 13:21:11 +08:00
parent 59e7bcf1dd
commit 9ef4359863
1 changed files with 1 additions and 0 deletions

View File

@ -353,6 +353,7 @@ int32_t qDumpRetrieveResult(qinfo_t qinfo, SRetrieveTableRsp **pRsp, int32_t *co
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) {
rpcFreeCont(*pRsp);
*pRsp = NULL;