From: Marc-André Lureau Date: Wed, 16 Aug 2017 19:00:32 +0000 (+0200) Subject: vhost-user-scsi: also free the gtree X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=9a6903dbe3bf809d9a8333d39b9171a3701a5ff2;p=qemu.git vhost-user-scsi: also free the gtree Signed-off-by: Marc-André Lureau Reviewed-by: Philippe Mathieu-Daudé --- diff --git a/contrib/vhost-user-scsi/vhost-user-scsi.c b/contrib/vhost-user-scsi/vhost-user-scsi.c index e3ae2bbd72..17f676bf00 100644 --- a/contrib/vhost-user-scsi/vhost-user-scsi.c +++ b/contrib/vhost-user-scsi/vhost-user-scsi.c @@ -693,6 +693,7 @@ static void vdev_scsi_free(vhost_scsi_dev_t *vdev_scsi) } g_main_loop_unref(vdev_scsi->loop); + g_tree_destroy(vdev_scsi->fdmap); g_free(vdev_scsi); }