memory leak
This commit is contained in:
parent
93766f8c96
commit
e7dfb8c26d
|
@ -708,6 +708,10 @@ _out:
|
||||||
syncEntryDestroy(pEntry);
|
syncEntryDestroy(pEntry);
|
||||||
pEntry = NULL;
|
pEntry = NULL;
|
||||||
}
|
}
|
||||||
|
if (!nextInBuf) {
|
||||||
|
syncEntryDestroy(pNextEntry);
|
||||||
|
pNextEntry = NULL;
|
||||||
|
}
|
||||||
syncLogBufferValidate(pBuf);
|
syncLogBufferValidate(pBuf);
|
||||||
taosThreadMutexUnlock(&pBuf->mutex);
|
taosThreadMutexUnlock(&pBuf->mutex);
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue