aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-05-03 14:12:56 +0100
committerPeter Maydell <peter.maydell@linaro.org>2020-05-03 14:12:56 +0100
commit2ef486e76d64436be90f7359a3071fb2a56ce835 (patch)
tree1016392ba439d2a86f299747744289e8c87c0d5c
parent6897541d902218b31eef2e8eabc74fa56618f9b3 (diff)
parenta5cde048e865da81fdc9077f3af28a43bff78d35 (diff)
downloadqemu-2ef486e76d64436be90f7359a3071fb2a56ce835.zip
qemu-2ef486e76d64436be90f7359a3071fb2a56ce835.tar.gz
qemu-2ef486e76d64436be90f7359a3071fb2a56ce835.tar.bz2
Merge remote-tracking branch 'remotes/marcel/tags/rdma-pull-request' into staging
RDMA queue * hw/rdma: Destroy list mutex when list is destroyed # gpg: Signature made Sat 02 May 2020 19:42:50 BST # gpg: using RSA key 36D4C0F0CF2FE46D # gpg: Good signature from "Marcel Apfelbaum <marcel.apfelbaum@zoho.com>" [unknown] # gpg: aka "Marcel Apfelbaum <marcel@redhat.com>" [marginal] # gpg: aka "Marcel Apfelbaum <marcel.apfelbaum@gmail.com>" [unknown] # gpg: WARNING: This key is not certified with sufficiently trusted signatures! # gpg: It is not certain that the signature belongs to the owner. # Primary key fingerprint: B1C6 3A57 F92E 08F2 640F 31F5 36D4 C0F0 CF2F E46D * remotes/marcel/tags/rdma-pull-request: hw/rdma: Destroy list mutex when list is destroyed Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--hw/rdma/rdma_utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/rdma/rdma_utils.c b/hw/rdma/rdma_utils.c
index 73f2791..698ed47 100644
--- a/hw/rdma/rdma_utils.c
+++ b/hw/rdma/rdma_utils.c
@@ -100,6 +100,7 @@ void rdma_protected_gslist_destroy(RdmaProtectedGSList *list)
{
if (list->list) {
g_slist_free(list->list);
+ qemu_mutex_destroy(&list->lock);
list->list = NULL;
}
}