diff options
author | Markus Armbruster <armbru@redhat.com> | 2011-05-25 14:21:10 +0200 |
---|---|---|
committer | Amit Shah <amit.shah@redhat.com> | 2011-05-27 15:50:55 +0530 |
commit | 5e52e5f903b2648c59030637e1610b32e965d615 (patch) | |
tree | 3e76063e50c012867deb2f55a9523a01340230be /nbd.h | |
parent | 199646d81522509ac2dba6d28c31e8c7d807bc93 (diff) |
virtio-serial: Plug memory leak on qdev exit()
virtio_serial_init() allocates the VirtIOSerialBus dynamically, but
virtio_serial_exit() doesn't free it.
Fix by getting rid of the allocation.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Amit Shah <amit.shah@redhat.com>
Diffstat (limited to 'nbd.h')
0 files changed, 0 insertions, 0 deletions