fix invalid write & memory leak in stream test
This commit is contained in:
parent
a5a054d851
commit
cc8ae36fa9
File diff suppressed because it is too large
Load Diff
|
@ -213,6 +213,8 @@ void cqDrop(void *handle) {
|
|||
pObj->pStream = NULL;
|
||||
|
||||
cTrace("vgId:%d, id:%d CQ:%s is dropped", pContext->vgId, pObj->tid, pObj->sqlStr);
|
||||
tdFreeSchema(pObj->pSchema);
|
||||
free(pObj->sqlStr);
|
||||
free(pObj);
|
||||
|
||||
pthread_mutex_unlock(&pContext->mutex);
|
||||
|
|
Loading…
Reference in New Issue