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

2019-02-13 Thread Andrea Bolognani
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,

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

2019-02-13 Thread Laine Stump
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