fix(sync): release ref

This commit is contained in:
Minghao Li 2022-07-05 17:27:37 +08:00
parent 2daef4ba58
commit a49ca94c33
1 changed files with 2 additions and 0 deletions

View File

@ -519,6 +519,8 @@ int32_t mndProcessSyncMsg(SRpcMsg *pMsg) {
}
}
syncNodeRelease(pSyncNode);
if (code != 0) {
terrno = TSDB_CODE_SYN_INTERNAL_ERROR;
}