Victor Kaplansky 6d0b908a62 tests/vhost-user-bridge.c: fix fd leakage
This fixes file descriptor leakage in vhost-user-bridge
application. Whenever a new callfd or kickfd is set, the previous
one should be explicitly closed. File descriptors used to map
guest's memory are closed immediately after mmap call.

Signed-off-by: Victor Kaplansky <victork@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
2015-12-02 19:27:26 +02:00
..
2015-11-17 18:35:56 +08:00
2015-10-16 11:14:53 +01:00
2015-10-23 18:18:23 +02:00
2015-10-19 15:26:53 +02:00
2015-11-25 11:37:34 -05:00
2015-11-26 10:07:07 +01:00
2015-10-24 18:03:18 +02:00
2015-11-02 08:30:26 +01:00