mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Fixed double free of XML property
This commit is contained in:
parent
b3033b99f9
commit
ba8648896f
@ -1,3 +1,8 @@
|
|||||||
|
Wed Jul 18 17:45:08 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
|
* src/qemu_conf.c: Remove double free of XML property upon
|
||||||
|
error cleanup
|
||||||
|
|
||||||
Wed Jul 18 17:15:08 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
Wed Jul 18 17:15:08 EST 2007 Daniel P. Berrange <berrange@redhat.com>
|
||||||
|
|
||||||
* tests/Makefile.am: Added QEMU tests
|
* tests/Makefile.am: Added QEMU tests
|
||||||
|
@ -1159,7 +1159,6 @@ static struct qemud_vm_def *qemudParseXML(virConnectPtr conn,
|
|||||||
} else if (!strcmp((char *)prop, "net")) {
|
} else if (!strcmp((char *)prop, "net")) {
|
||||||
def->os.bootDevs[def->os.nBootDevs++] = QEMUD_BOOT_NET;
|
def->os.bootDevs[def->os.nBootDevs++] = QEMUD_BOOT_NET;
|
||||||
} else {
|
} else {
|
||||||
xmlFree(prop);
|
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
xmlFree(prop);
|
xmlFree(prop);
|
||||||
|
Loading…
Reference in New Issue
Block a user