mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-21 20:15: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>
|
||||
|
||||
* tests/Makefile.am: Added QEMU tests
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user