
8 Oct
2020
8 Oct
'20
3:59 a.m.
@@ -1592,8 +1585,8 @@ virDomainVirtioSerialAddrSetAddController(virDomainVirtioSerialAddrSetPtr addrs, VIR_DEBUG("Adding virtio serial controller index %u with %d" " ports to the address set", cont->idx, ports);
- if (VIR_ALLOC(cnt) < 0) - goto cleanup; + cnt = g_new0(virDomainVirtioSerialController, + 1);
Make ^these a single line.