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