diff options
| author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-07-27 01:15:00 +0400 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2016-07-29 00:33:46 +0300 |
| commit | 7b527247f09740920d8bc8aaa5ef4445256ca478 (patch) | |
| tree | 5f1c3cd14f1a6125e67769d71aca6f06166ec9f1 /hw/net/vhost_net.c | |
| parent | 9e0bc24fa57b98561d75ab8f61a419f2d69ec6aa (diff) | |
| download | focaccia-qemu-7b527247f09740920d8bc8aaa5ef4445256ca478.tar.gz focaccia-qemu-7b527247f09740920d8bc8aaa5ef4445256ca478.zip | |
vhost: assert the log was cleaned up
Make sure the log was released on cleanup, or it will leak (the alternative is to call vhost_log_put() unconditionally, but it may hide some dev state issues). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/net/vhost_net.c')
0 files changed, 0 insertions, 0 deletions