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

Fabiano Fidêncio fidencio at redhat.com
Thu Feb 14 10:42:22 UTC 2019


On Tue, Feb 12, 2019 at 9:07 AM Christophe Fergeau <cfergeau at redhat.com>
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 <cfergeau at redhat.com>
>

Reviewed-by: Fabiano Fidêncio <fidencio at redhat.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190214/f20b3bfd/attachment-0001.htm>


More information about the libvir-list mailing list