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

[libvirt] [PATCH 0/4] qemu: Fix leaks in handling PCI devices



https://bugzilla.redhat.com/show_bug.cgi?id=877095

Patch 1/4 fixes a possible double free on error path and the other patches
deal with memory and file descriptor leaks in PCI device attachment code.

Jiri Denemark (4):
  qemu: Don't free PCI device if adding it to activePciHostdevs fails
  util: Slightly refactor PCI list functions
  qemu: Fix memory (and FD) leak on PCI device detach
  qemu: Do not keep PCI device config file open

 src/libvirt_private.syms |  3 +++
 src/qemu/qemu_hostdev.c  | 22 ++++++++--------
 src/util/pci.c           | 66 ++++++++++++++++++++++++++++--------------------
 src/util/pci.h           |  5 ++++
 4 files changed, 58 insertions(+), 38 deletions(-)

-- 
1.8.0


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