[libvirt PATCH] qemu: Avoid memory leak in qemuMonitorJSONExtractQueryStatsSchema

Ján Tomko jtomko at redhat.com
Wed Nov 2 15:01:56 UTC 2022


On a Wednesday in 2022, Jiri Denemark wrote:
>In a rare case when virHashAddEntry fails we would just leak the
>structure we wanted to add to the hash table.
>
>Fixes: e89acdbc3bbada2f3c1a591278bc975ddee2d5a9
>Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
>---
> src/qemu/qemu_monitor_json.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano


More information about the libvir-list mailing list