fix mem leak
This commit is contained in:
parent
20e1bd9cff
commit
b74105727d
|
@ -899,6 +899,7 @@ _EXIT:
|
|||
taosMemoryFree(pChkpDir);
|
||||
taosMemoryFree(pChkpIdDir);
|
||||
taosReleaseRef(taskDbWrapperId, refId);
|
||||
taosMemoryFree(ppCf);
|
||||
return code;
|
||||
}
|
||||
int32_t streamBackendDoCheckpoint(void* arg, int64_t chkpId) { return taskDbDoCheckpoint(arg, chkpId); }
|
||||
|
@ -3594,6 +3595,7 @@ void dbChkpDestroy(SDbChkp* pChkp) {
|
|||
|
||||
taosMemoryFree(pChkp->pCurrent);
|
||||
taosMemoryFree(pChkp->pManifest);
|
||||
taosMemoryFree(pChkp);
|
||||
}
|
||||
|
||||
int32_t dbChkpInit(SDbChkp* p) {
|
||||
|
|
Loading…
Reference in New Issue