fix mem leak
This commit is contained in:
parent
5e060605d8
commit
780fe1eded
|
@ -7649,7 +7649,10 @@ int32_t qDumpRetrieveResult(qinfo_t qinfo, SRetrieveTableRsp **pRsp, int32_t *co
|
|||
*continueExec = true;
|
||||
qDebug("QInfo:%p has more results to retrieve", pQInfo);
|
||||
}
|
||||
|
||||
if (pQInfo->code != TSDB_CODE_SUCCESS) {
|
||||
rpcFreeCont(*pRsp);
|
||||
*pRsp = NULL;
|
||||
}
|
||||
return pQInfo->code;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue