fix:core dump if tqOpen error in vnodeOpen
This commit is contained in:
parent
cc51fd47d0
commit
740228a653
|
@ -119,6 +119,7 @@ STqOffsetStore* tqOffsetOpen(STQ* pTq) {
|
|||
}
|
||||
|
||||
void tqOffsetClose(STqOffsetStore* pStore) {
|
||||
if(pStore == NULL) return;
|
||||
tqOffsetCommitFile(pStore);
|
||||
taosHashCleanup(pStore->pHash);
|
||||
taosMemoryFree(pStore);
|
||||
|
|
Loading…
Reference in New Issue