mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 14:24:02 +08:00
vhost-user-scsi: also free the gtree
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
b4fe56e9ed
commit
9a6903dbe3
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user