Re: [libvirt] [libvirt-glib 1/3] config: Fix gvir_config_xml_node_to_string() leak

2019-02-14 Thread Fabiano FidĂȘncio
On Tue, Feb 12, 2019 at 9:07 AM Christophe Fergeau wrote: > If xmlNodeDump() fails, we would be leaking the xmlBuffer we created. > This commit ensures we don't return early before this buffer is freed. > > Signed-off-by: Christophe Fergeau > Reviewed-by: Fabiano FidĂȘncio -- libvir-list

[libvirt] [libvirt-glib 1/3] config: Fix gvir_config_xml_node_to_string() leak

2019-02-12 Thread Christophe Fergeau
If xmlNodeDump() fails, we would be leaking the xmlBuffer we created. This commit ensures we don't return early before this buffer is freed. Signed-off-by: Christophe Fergeau --- libvirt-gconfig/libvirt-gconfig-helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git