Yunjian Wang 323e7c1177 tap: fix memory leak on success to create a tap device
The memory leak on success to create a tap device. And the nfds and
nvhosts may not be the same and need to be processed separately.

Fixes: 07825977 ("tap: fix memory leak on failure to create a multiqueue tap device")
Fixes: 264986e2 ("tap: multiqueue support")
Cc: qemu-stable@nongnu.org
Signed-off-by: Yunjian Wang <wangyunjian@huawei.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2018-07-20 08:30:49 +08:00
..
2017-01-20 10:36:38 +08:00
2018-06-01 19:20:38 +03:00
2016-07-19 20:18:02 +02:00
2018-06-15 10:39:53 +08:00
2016-07-19 20:18:02 +02:00
2016-02-04 17:41:30 +00:00
2017-11-13 18:05:12 +08:00
2016-10-26 09:57:59 +08:00
2016-02-04 17:41:30 +00:00
2016-02-23 12:43:05 +00:00