qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/4] Fix virtio memleaks


From: Amit Shah
Subject: [Qemu-devel] [PATCH 0/4] Fix virtio memleaks
Date: Wed, 27 Jul 2011 14:00:28 +0530

The memory allocated in virtio_common_init() wasn't being freed
anywhere.  Fix that.

The balloon handler wasn't unregistering its savevm section,
adding an exit handler fixes that as well.

This patchset is on top of the two balloon series I've sent out
yesterday and today.

Amit Shah (4):
  virtio-balloon: Add exit handler, fix memleaks
  virtio-blk: Fix memleak on exit
  virtio-net: Fix potential use-after-free
  virtio: Plug memleak by freeing vdev

 hw/virtio-balloon.c |    9 +++++++++
 hw/virtio-blk.c     |    1 +
 hw/virtio-net.c     |    2 +-
 hw/virtio-pci.c     |   11 ++++++++++-
 hw/virtio.c         |    1 +
 hw/virtio.h         |    1 +
 6 files changed, 23 insertions(+), 2 deletions(-)

-- 
1.7.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]