[libvirt PATCH] conf: Avoid double free in virDomainEventTunableNew callers

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


On a Wednesday in 2022, Jiri Denemark wrote:
>virDomainEventTunableNew is supposed to consume and free @params, but it
>failed to always set @params to NULL to make sure the caller doesn't try
>to free the same memory again.
>
>Fixes: d95c79fbd00dc597b607b130d95c258b6cf31690
>Signed-off-by: Jiri Denemark <jdenemar at redhat.com>
>---
> src/conf/domain_event.c | 1 +
> 1 file changed, 1 insertion(+)
>

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

Jano


More information about the libvir-list mailing list