All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] block/nvme: Fix a memory leak in nvme_free_queue_pair()
@ 2021-10-06 16:49 Philippe Mathieu-Daudé
  2021-10-06 16:49 ` [PATCH 1/5] block/nvme: Automatically free qemu_memalign() with QEMU_AUTO_VFREE Philippe Mathieu-Daudé
                   ` (4 more replies)
  0 siblings, 5 replies; 17+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-10-06 16:49 UTC (permalink / raw)
  To: qemu-devel
  Cc: Fam Zheng, Kevin Wolf, qemu-block, Max Reitz, Hanna Reitz,
	Stefan Hajnoczi, Philippe Mathieu-Daudé

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(-)

-- 
2.31.1




^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-11-02 15:35 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 16:49 [PATCH 0/5] block/nvme: Fix a memory leak in nvme_free_queue_pair() Philippe Mathieu-Daudé
2021-10-06 16:49 ` [PATCH 1/5] block/nvme: Automatically free qemu_memalign() with QEMU_AUTO_VFREE Philippe Mathieu-Daudé
2021-10-07 13:29   ` Stefan Hajnoczi
2021-10-06 16:49 ` [PATCH 2/5] block/nvme: Display CQ/SQ pointer in nvme_free_queue_pair() Philippe Mathieu-Daudé
2021-10-07 13:29   ` Stefan Hajnoczi
2021-10-06 16:49 ` [PATCH 3/5] block/nvme: Extract nvme_free_queue() from nvme_free_queue_pair() Philippe Mathieu-Daudé
2021-10-07 13:29   ` Stefan Hajnoczi
2021-10-06 16:49 ` [PATCH 4/5] block/nvme: Pass BDRVNVMeState* handle to nvme_free_queue_pair() Philippe Mathieu-Daudé
2021-10-07 13:30   ` Stefan Hajnoczi
2021-10-06 16:49 ` [PATCH 5/5] block/nvme: Fix memory leak from nvme_init_queue() Philippe Mathieu-Daudé
2021-10-06 16:58   ` Philippe Mathieu-Daudé
2021-10-07 13:29   ` Stefan Hajnoczi
2021-10-07 13:34     ` Philippe Mathieu-Daudé
2021-11-02 12:33       ` Kevin Wolf
2021-11-02 12:36         ` Philippe Mathieu-Daudé
2021-11-02 14:50           ` Kevin Wolf
2021-11-02 15:17             ` Philippe Mathieu-Daudé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.