diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-08-16 21:00:32 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2017-10-10 23:31:09 +0200 |
commit | 9a6903dbe3bf809d9a8333d39b9171a3701a5ff2 (patch) | |
tree | e8f2d61fe0fdec58a4af0f2f170244ea3ed59390 /contrib/vhost-user-scsi/vhost-user-scsi.c | |
parent | b4fe56e9ed8d981519802d39a13a0ebb28c546d4 (diff) |
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>
Diffstat (limited to 'contrib/vhost-user-scsi/vhost-user-scsi.c')
-rw-r--r-- | contrib/vhost-user-scsi/vhost-user-scsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
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); } |