diff options
| author | Nick Hibma <n_hibma@FreeBSD.org> | 2001-06-30 10:57:37 +0000 |
|---|---|---|
| committer | Nick Hibma <n_hibma@FreeBSD.org> | 2001-06-30 10:57:37 +0000 |
| commit | 0bea5808a12256d78c3e66640d3a1048221cf782 (patch) | |
| tree | fbf33a7213457a43cc8f13d217e4253e53563b69 /sys/dev/usb/usbdi_util.c | |
| parent | fa783074ac610fa76e4c1545b92108ad7f6d9a88 (diff) | |
Notes
Diffstat (limited to 'sys/dev/usb/usbdi_util.c')
| -rw-r--r-- | sys/dev/usb/usbdi_util.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/usb/usbdi_util.c b/sys/dev/usb/usbdi_util.c index ff48fd7d56a6..3c5b10408fd0 100644 --- a/sys/dev/usb/usbdi_util.c +++ b/sys/dev/usb/usbdi_util.c @@ -460,6 +460,7 @@ usbd_alloc_report_desc(ifc, descp, sizep, mem) *sizep, *descp); if (err) { free(*descp, mem); + *descp = NULL; return (err); } return (USBD_NORMAL_COMPLETION); |
