Message ID | 1466503372-28334-11-git-send-email-marcandre.lureau@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
diff --git a/hw/virtio/vhost.c b/hw/virtio/vhost.c index febf64f..237db77 100644 --- a/hw/virtio/vhost.c +++ b/hw/virtio/vhost.c @@ -1105,6 +1105,7 @@ void vhost_dev_cleanup(struct vhost_dev *hdev) g_free(hdev->mem); g_free(hdev->mem_sections); hdev->vhost_ops->vhost_backend_cleanup(hdev); + vhost_log_put(hdev, false); QLIST_REMOVE(hdev, entry); }