Skip to content

Commit

Permalink
Merge pull request #318 from mnaberez/libusb_free_device_list
Browse files Browse the repository at this point in the history
host: Fix unreachable libusb_free_device_list() in ubertooth_count()
  • Loading branch information
mikeryan authored Jun 25, 2018
2 parents 4148172 + 41f9cfa commit 5441b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion host/libubertooth/src/ubertooth.c
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ unsigned ubertooth_count(void) {
}
}

return uberteeth;
libusb_free_device_list(usb_list,1);
return uberteeth;
}

static struct libusb_device_handle* find_ubertooth_device(int ubertooth_device)
Expand Down

0 comments on commit 5441b44

Please sign in to comment.