Skip to content
Snippets Groups Projects
user avatar
Klaus Jensen authored
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: 73064edf ("hw/nvme: flexible data placement emulation")
Reviewed-by: default avatarPhilippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: default avatarKlaus Jensen <k.jensen@samsung.com>
cb16e5c7
History
Name Last commit Last update