fix crash caused by double free when fail to initQInfo
This commit is contained in:
parent
4913ce5897
commit
57b8617fa4
|
@ -5870,7 +5870,7 @@ _over:
|
|||
taosArrayDestroy(pTableIdList);
|
||||
|
||||
if (code != TSDB_CODE_SUCCESS) {
|
||||
tfree(*pQInfo);
|
||||
//pQInfo already freed in initQInfo, but *pQInfo may not pointer to null;
|
||||
*pQInfo = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue