[libvirt] [PATCH] virsh: edit: don't leak XML string on reedit or redefine

Peter Krempa pkrempa at redhat.com
Tue Jun 25 13:38:41 UTC 2013


On 06/25/13 15:18, Ján Tomko wrote:
> Free the old XML strings before overwriting them if the user
> has chosen to reedit the file or force the redefinition.
>
> Found by Alex Jia trying to reproduce another bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=977430#c3
> ---
>   tools/virsh-edit.c | 2 ++
>   1 file changed, 2 insertions(+)
>

ACK.

Peter




More information about the libvir-list mailing list