[libvirt] [PATCH] virsh: edit: don't leak XML string on reedit or redefine
Ján Tomko
jtomko at redhat.com
Tue Jun 25 13:44:52 UTC 2013
On 06/25/2013 03:38 PM, Peter Krempa wrote:
> 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
>
Thanks, pushed now.
Jan
More information about the libvir-list
mailing list