qemu/hw/nvme
Klaus Jensen cb16e5c76f hw/nvme: fix memory leak in fdp ruhid parsing
Coverity reports a memory leak of memory when parsing ruhids at
namespace initialization. Since this is just working memory, not needed
beyond the scope of the functions, fix this by adding a g_autofree
annotation.

Reported-by: Coverity (CID 1507979)
Fixes: 73064edfb8 ("hw/nvme: flexible data placement emulation")
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Klaus Jensen <k.jensen@samsung.com>
2023-04-12 12:03:02 +02:00
..
ctrl.c hw/nvme: fix missing DNR on compare failure 2023-03-27 19:05:23 +02:00
dif.c hw/nvme: add new command abort case 2022-06-03 21:48:24 +02:00
dif.h hw/nvme: 64-bit pi support 2022-03-03 09:30:21 +01:00
Kconfig hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
meson.build hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00
ns.c hw/nvme: fix memory leak in fdp ruhid parsing 2023-04-12 12:03:02 +02:00
nvme.h hw/nvme: flexible data placement emulation 2023-03-06 15:28:02 +01:00
subsys.c hw/nvme: flexible data placement emulation 2023-03-06 15:28:02 +01:00
trace-events hw/nvme: flexible data placement emulation 2023-03-06 15:28:02 +01:00
trace.h hw/nvme: move nvme emulation out of hw/block 2021-05-17 09:19:00 +02:00