Home | History | Annotate | Download | only in libusb
      1 diff --git a/third_party/libusb/src/libusb/os/darwin_usb.c b/third_party/libusb/src/libusb/os/darwin_usb.c
      2 index 58467c3..07d6d61 100644
      3 --- a/third_party/libusb/src/libusb/os/darwin_usb.c
      4 +++ b/third_party/libusb/src/libusb/os/darwin_usb.c
      5 @@ -1268,7 +1268,7 @@ static int darwin_release_interface(struct libusb_device_handle *dev_handle, int
      6    if (kresult != kIOReturnSuccess)
      7      usbi_warn (HANDLE_CTX (dev_handle), "Release: %s", darwin_error_str(kresult));
      8  
      9 -  cInterface->interface = IO_OBJECT_NULL;
     10 +  cInterface->interface = NULL;
     11  
     12    return darwin_to_libusb (kresult);
     13  }
     14