mirror of https://gitee.com/openkylin/libvirt.git
vboxDumpDisplay: remove extra virReportOOMError
VIR_ALLOC* already reported an error.
This commit is contained in:
parent
56886d5fdd
commit
2f2a0b2925
|
@ -3434,8 +3434,6 @@ vboxDumpDisplay(virDomainDefPtr def, vboxGlobalData *data, IMachine *machine)
|
|||
def->graphics[def->ngraphics]->data.rdp.replaceUser = true;
|
||||
|
||||
def->ngraphics++;
|
||||
} else {
|
||||
virReportOOMError();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue