libvirt/tools
Ján Tomko 1e3a252974 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
2013-06-25 15:37:20 +02:00
..
console.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
console.h virsh: Fix usage of header termios.h 2012-12-07 14:21:25 +01:00
libvirt_win_icon_16x16.ico
libvirt_win_icon_32x32.ico
libvirt_win_icon_48x48.ico
libvirt_win_icon_64x64.ico
libvirt-guests.init.in tools: Only install guests init script if --with-init=script=redhat 2012-12-11 19:54:37 -05:00
libvirt-guests.service.in tools: Only install guests init script if --with-init=script=redhat 2012-12-11 19:54:37 -05:00
libvirt-guests.sh.in maint: use LGPL correctly 2013-05-20 14:03:48 -06:00
libvirt-guests.sysconf
Makefile.am maint: use LGPL correctly 2013-05-20 14:03:48 -06:00
virsh_win_icon.rc
virsh-domain-monitor.c virsh-domain-monitor: Remove ATTRIBUTE_UNUSED from a argument 2013-06-07 15:57:03 +02:00
virsh-domain-monitor.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-domain.c Introduce VIR_MIGRATE_PARAM_GRAPHICS_URI parameter 2013-06-25 01:33:47 +02: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-25 15:37:20 +02:00
virsh-host.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02:00
virsh-host.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-interface.c virsh iface-bridge: Ignore delay if stp is turned off 2013-06-03 15:15:44 +02:00
virsh-interface.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-network.c util: move virFile* functions from virutil.c to virfile.c 2013-05-10 13:09:30 -04:00
virsh-network.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-nodedev.c virsh: Support SCSI_GENERIC cap flag for nodedev-list 2013-06-18 17:20:28 +08:00
virsh-nodedev.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-nwfilter.c tools: Remove the whitespace before ";" 2013-05-21 23:41:45 +08:00
virsh-nwfilter.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-pool.c util: move virFile* functions from virutil.c to virfile.c 2013-05-10 13:09:30 -04:00
virsh-pool.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-secret.c tools: Remove the whitespace before ";" 2013-05-21 23:41:45 +08:00
virsh-secret.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-snapshot.c util: move virFile* functions from virutil.c to virfile.c 2013-05-10 13:09:30 -04:00
virsh-snapshot.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh-volume.c virsh: Obey pool-or-uuid spec when creating volumes 2013-06-04 10:16:02 +02:00
virsh-volume.h maint: fix up copyright notice inconsistencies 2012-09-20 16:30:55 -06:00
virsh.c util: switch virBufferTrim to void 2013-06-19 09:21:09 +02:00
virsh.h virsh: Introduce macros to reject mutually exclusive arguments 2013-03-21 12:32:03 +01:00
virsh.pod Introduce VIR_MIGRATE_PARAM_GRAPHICS_URI parameter 2013-06-25 01:33:47 +02:00
virt-host-validate-common.c virutil: Move string related functions to virstring.c 2013-05-02 16:56:55 +02: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 maint: use LGPL correctly 2013-05-20 14:03:48 -06:00
virt-sanlock-cleanup.in maint: use LGPL correctly 2013-05-20 14:03:48 -06:00
virt-xml-validate.in build: use common .in replacement mechanism 2013-01-07 08:56:36 -07:00