mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00: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