mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
parent
379e4bcce5
commit
d0f7fd9924
@ -9924,6 +9924,7 @@ virDomainDefMaybeAddController(virDomainDefPtr def,
|
||||
|
||||
if (VIR_APPEND_ELEMENT(def->controllers, def->ncontrollers, cont) < 0) {
|
||||
VIR_FREE(cont);
|
||||
virReportOOMError();
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user