[libvirt] [PATCH] util: fix memory leak in virFirewallDInterfaceSetZone()

Andrea Bolognani abologna at redhat.com
Wed Feb 13 16:25:46 UTC 2019


On Wed, 2019-02-13 at 11:01 -0500, Laine Stump wrote:
> commit 3bba4825 added the new function virFirewallDInterfaceSetZone()
> which calledsends virDBUSCallMethod a DBusMessage** for the reply
> message, but doesn't use the reply, and also doesn't free it. Since
> this arg is allowed to be NULL, this patch simply sets it to NULL so
> we don't have to deal with it.
> 
> Signed-off-by: Laine Stump <laine at laine.org>
> ---
>  src/util/virfirewalld.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Andrea Bolognani <abologna at redhat.com>

-- 
Andrea Bolognani / Red Hat / Virtualization




More information about the libvir-list mailing list