From: Daniel P. Berrange Date: Wed, 18 Jul 2007 21:47:47 +0000 (+0000) Subject: Fixed double free of XML property X-Git-Tag: LIBVIRT_0_3_1~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba8648896f1582a950f843d727291a3ee636a666;p=thirdparty%2Flibvirt.git Fixed double free of XML property --- diff --git a/ChangeLog b/ChangeLog index 16cb90a583..4d62d20e8c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 18 17:45:08 EST 2007 Daniel P. Berrange + + * src/qemu_conf.c: Remove double free of XML property upon + error cleanup + Wed Jul 18 17:15:08 EST 2007 Daniel P. Berrange * tests/Makefile.am: Added QEMU tests diff --git a/src/qemu_conf.c b/src/qemu_conf.c index fcedc12c0e..4c4d2c2b9b 100644 --- a/src/qemu_conf.c +++ b/src/qemu_conf.c @@ -1159,7 +1159,6 @@ static struct qemud_vm_def *qemudParseXML(virConnectPtr conn, } else if (!strcmp((char *)prop, "net")) { def->os.bootDevs[def->os.nBootDevs++] = QEMUD_BOOT_NET; } else { - xmlFree(prop); goto error; } xmlFree(prop);