[Election] fix election priority memory leak

This commit is contained in:
obdev
2023-02-06 13:06:37 +08:00
committed by ob-robot
parent 97d2270c0d
commit 5b039c4514
2 changed files with 4 additions and 2 deletions

View File

@ -239,6 +239,8 @@ private:// 定向暴露给友元类
}
LOG_PHASE(TRACE, phase, "compare priority done");
}
lhs_priority->~ElectionPriority();
rhs_priority->~ElectionPriority();
}
}
}