libvirt/tools
Ján Tomko f5009405f5 virsh: edit: don't leak XML string on reedit or redefine
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
(cherry picked from commit 1e3a252974)
2013-06-26 17:43:28 +02:00
..
console.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
console.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
libvirt_win_icon_16x16.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_32x32.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_48x48.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt_win_icon_64x64.ico Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
libvirt-guests.init.in tools: Only install guests init script if --with-init=script=redhat 2013-01-07 11:26:52 -07:00
libvirt-guests.service.in tools: Only install guests init script if --with-init=script=redhat 2013-01-07 11:26:52 -07:00
libvirt-guests.sh.in tools: Only install guests init script if --with-init=script=redhat 2013-01-07 11:26:52 -07:00
libvirt-guests.sysconf libvirt-guests: Add parallel startup and shutdown of guests 2012-03-05 13:18:24 +01:00
Makefile.am build: .service files don't need to be executable 2013-01-07 11:26:52 -07:00
virsh_win_icon.rc Move virsh into tools/ directory 2009-09-21 14:41:45 +01:00
virsh-domain-monitor.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-domain-monitor.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-domain.c virsh: use correct sizeof when allocating cpumap 2012-12-09 16:53:40 -05:00
virsh-domain.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-edit.c virsh: edit: don't leak XML string on reedit or redefine 2013-06-26 17:43:28 +02:00
virsh-host.c Allow duration=0 for virsh nodesuspend 2012-12-09 16:53:41 -05:00
virsh-host.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-interface.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-interface.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-network.c net-update docs: s/domain/network/ 2012-12-09 16:11:13 -05:00
virsh-network.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-nodedev.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-nodedev.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-nwfilter.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-nwfilter.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-pool.c virsh: check the return value of virStoragePoolGetAutostart 2012-12-09 16:53:41 -05:00
virsh-pool.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-secret.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-secret.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-snapshot.c virsh: Fix segfault of snapshot-list 2012-10-27 15:11:48 -04:00
virsh-snapshot.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-volume.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-volume.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh.c virsh: do timing even for unusable connections 2012-12-09 16:53:40 -05:00
virsh.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh.pod virsh: Fix POD syntax 2013-01-08 10:06:53 -07:00
virt-host-validate-common.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virt-host-validate-common.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virt-host-validate-lxc.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virt-host-validate-lxc.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virt-host-validate-qemu.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virt-host-validate-qemu.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virt-host-validate.c maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virt-pki-validate.in build: use common .in replacement mechanism 2013-01-07 11:26:52 -07:00
virt-sanlock-cleanup.in build: use common .in replacement mechanism 2013-01-07 11:26:52 -07:00
virt-xml-validate.in build: use common .in replacement mechanism 2013-01-07 11:26:52 -07:00