diff options
author | Amit Shah <amit.shah@redhat.com> | 2011-07-27 14:00:32 +0530 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2011-07-27 20:19:27 +0300 |
commit | 845f85fa1597c72609bd10a37b9586b445c13d49 (patch) | |
tree | 07f02316413edb06bb2e5b95c4507a492acbdaaa /device_tree.h | |
parent | b52dfd71f33b902e612b12f6cc89f3b61e4d3e22 (diff) |
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 'device_tree.h')
0 files changed, 0 insertions, 0 deletions