Page MenuHomeFreeBSD

D19202.id53970.diff
No OneTemporary

D19202.id53970.diff

Index: head/usr.sbin/bhyve/pci_xhci.c
===================================================================
--- head/usr.sbin/bhyve/pci_xhci.c
+++ head/usr.sbin/bhyve/pci_xhci.c
@@ -2626,6 +2626,7 @@
char *uopt, *xopts, *config;
int usb3_port, usb2_port, i;
+ uopt = NULL;
usb3_port = sc->usb3_port_start - 1;
usb2_port = sc->usb2_port_start - 1;
devices = NULL;
@@ -2700,8 +2701,6 @@
sc->ndevices++;
}
- if (uopt != NULL)
- free(uopt);
portsfinal:
sc->portregs = calloc(XHCI_MAX_DEVS, sizeof(struct pci_xhci_portregs));

File Metadata

Mime Type
text/plain
Expires
Mon, Sep 14, 5:17 AM (9 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38888219
Default Alt Text
D19202.id53970.diff (544 B)

Event Timeline