Ján Tomko ad62d2c70f 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 1e3a252974c8e5c650f1d84dc2b167f0ae8cee3c)
2013-06-26 17:20:40 +02:00
..
2012-12-07 14:21:25 +01:00
2013-05-20 14:03:48 -06:00
2013-05-20 14:03:48 -06:00
2013-05-20 14:03:48 -06:00