提交 5107a47b 编写于 作者: E Emilio G. Cota 提交者: Alex Bennée

qht: call qemu_spin_destroy for head buckets

Signed-off-by: NEmilio G. Cota <cota@braap.org>
Signed-off-by: NRobert Foley <robert.foley@linaro.org>
Reviewed-by: NAlex Bennée <alex.bennee@linaro.org>
[AJB: add implied cota s-o-b c.f. github.com/cota/qemu/tree/tsan @ 1bd1209]
Signed-off-by: NAlex Bennée <alex.bennee@linaro.org>
Message-Id: <20200609200738.445-6-robert.foley@linaro.org>
Message-Id: <20200612190237.30436-9-alex.bennee@linaro.org>
上级 816d9be5
......@@ -348,6 +348,7 @@ static inline void qht_chain_destroy(const struct qht_bucket *head)
struct qht_bucket *curr = head->next;
struct qht_bucket *prev;
qemu_spin_destroy(&head->lock);
while (curr) {
prev = curr;
curr = curr->next;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册