mbox series

[0/5] block/nvme: Fix a memory leak in nvme_free_queue_pair()

Message ID 20211006164931.172349-1-philmd@redhat.com (mailing list archive)
Headers show
Series block/nvme: Fix a memory leak in nvme_free_queue_pair() | expand

Message

Philippe Mathieu-Daudé Oct. 6, 2021, 4:49 p.m. UTC
Hi,

While searching for a memory corruption in the NVMe block driver,
Valgrind revealed one leak. It is not what I'm looking for, but
worth fixing (at least one warning removed from the huge valgrind
report).

Philippe Mathieu-Daudé (5):
  block/nvme: Automatically free qemu_memalign() with QEMU_AUTO_VFREE
  block/nvme: Display CQ/SQ pointer in nvme_free_queue_pair()
  block/nvme: Extract nvme_free_queue() from nvme_free_queue_pair()
  block/nvme: Pass BDRVNVMeState* handle to nvme_free_queue_pair()
  block/nvme: Fix memory leak from nvme_init_queue()

 block/nvme.c       | 31 +++++++++++++++++--------------
 block/trace-events |  2 +-
 2 files changed, 18 insertions(+), 15 deletions(-)