summary refs log tree commit diff stats
path: root/hw/virtio-net.c
diff options
context:
space:
mode:
authorAmit Shah <amit.shah@redhat.com>2011-07-27 14:00:32 +0530
committerMichael S. Tsirkin <mst@redhat.com>2011-07-27 20:19:27 +0300
commit845f85fa1597c72609bd10a37b9586b445c13d49 (patch)
tree07f02316413edb06bb2e5b95c4507a492acbdaaa /hw/virtio-net.c
parentb52dfd71f33b902e612b12f6cc89f3b61e4d3e22 (diff)
downloadfocaccia-qemu-845f85fa1597c72609bd10a37b9586b445c13d49.tar.gz
focaccia-qemu-845f85fa1597c72609bd10a37b9586b445c13d49.zip
virtio: Plug memleak by freeing vdev
virtio_common_init() allocates RAM for the vdev struct (and any
additional memory, depending on the size passed to the function).  This
memory wasn't being freed until now.

Signed-off-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/virtio-net.c')
0 files changed, 0 insertions, 0 deletions