fix mem leak
This commit is contained in:
parent
367b6eee72
commit
871f4dcb3d
|
@ -319,7 +319,6 @@ void streamFreeTaskState(SStreamTask* pTask, int8_t remove) {
|
|||
taskDbRemoveRef(pTask->pBackend);
|
||||
pTask->pBackend = NULL;
|
||||
pTask->pState = NULL;
|
||||
|
||||
if (pTask->backendPath != NULL) {
|
||||
taosMemoryFree(pTask->backendPath);
|
||||
pTask->backendPath = NULL;
|
||||
|
|
Loading…
Reference in New Issue